Klasse VehicleCommAdapterEvent

java.lang.Object
org.opentcs.drivers.vehicle.VehicleCommAdapterEvent
Alle implementierten Schnittstellen:
Serializable

public class VehicleCommAdapterEvent extends Object implements Serializable
An event emitted by a communication adapter.
Siehe auch:
  • Konstruktordetails

    • VehicleCommAdapterEvent

      public VehicleCommAdapterEvent(String adapterName, Serializable appendix)
      Creates a new instance.
      Parameter:
      adapterName - The name of the adapter that emitted this event.
      appendix - An optional appendix containing additional arbitrary information about the event.
    • VehicleCommAdapterEvent

      public VehicleCommAdapterEvent(String adapterName)
      Creates a new instance without an appendix.
      Parameter:
      adapterName - The name of the adapter that emitted this event.
  • Methodendetails

    • getAdapterName

      public String getAdapterName()
      Returns the name of the adapter that emitted this event.
      Gibt zurück:
      The name of the adapter that emitted this event.
    • getAppendix

      public Serializable getAppendix()
      Returns the (optional) appendix containing additional arbitrary information about the event.
      Gibt zurück:
      The (optional) appendix containing additional arbitrary information about the event.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object