Class AttachmentEvent
java.lang.Object
org.opentcs.drivers.vehicle.management.CommAdapterEvent
org.opentcs.drivers.vehicle.management.AttachmentEvent
- All Implemented Interfaces:
java.io.Serializable
,LowLevelCommunicationEvent
- Direct Known Subclasses:
VehicleAttachmentEvent
@Deprecated @ScheduledApiChange(details="Will be removed.", when="6.0") public class AttachmentEvent extends CommAdapterEvent implements java.io.Serializable
Deprecated.
Use
VehicleAttachmentEvent
instead.Instances of this class represent events emitted by/for attaching comm adapters.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AttachmentEvent(java.lang.String vehicleName, AttachmentInformation updatedAttachmentInformation)
Deprecated.Creates a new instance. -
Method Summary
Modifier and Type Method Description AttachmentInformation
getUpdatedAttachmentInformation()
Deprecated.Returns theAttachmentInformation
to the actual attachment.java.lang.String
getVehicleName()
Deprecated.Returns the vehicle's name a comm adapter has been attached to.
-
Constructor Details
-
AttachmentEvent
public AttachmentEvent(@Nonnull java.lang.String vehicleName, @Nonnull AttachmentInformation updatedAttachmentInformation)Deprecated.Creates a new instance.- Parameters:
vehicleName
- The vehicle's name a comm adapter has been attached to.updatedAttachmentInformation
- The information to the actual attachment.
-
-
Method Details
-
getVehicleName
public java.lang.String getVehicleName()Deprecated.Returns the vehicle's name a comm adapter has been attached to.- Returns:
- The vehicle's name a comm adapter has been attached to.
-
getUpdatedAttachmentInformation
Deprecated.Returns theAttachmentInformation
to the actual attachment.- Returns:
- The
AttachmentInformation
to the actual attachment.
-