Class PeripheralAttachmentEvent
java.lang.Object
org.opentcs.drivers.peripherals.management.PeripheralCommAdapterEvent
org.opentcs.drivers.peripherals.management.PeripheralAttachmentEvent
- All Implemented Interfaces:
Serializable
,LowLevelCommunicationEvent
Instances of this class represent events emitted by/for attaching comm adapters.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPeripheralAttachmentEvent
(TCSResourceReference<Location> location, PeripheralAttachmentInformation attachmentInformation) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the information to the actual attachment.Returns the location a comm adapter has been attached to.
-
Constructor Details
-
PeripheralAttachmentEvent
public PeripheralAttachmentEvent(@Nonnull TCSResourceReference<Location> location, @Nonnull PeripheralAttachmentInformation attachmentInformation) Creates a new instance.- Parameters:
location
- The location a comm adapter has been attached to.attachmentInformation
- The information to the actual attachment.
-
-
Method Details
-
getLocation
Returns the location a comm adapter has been attached to.- Returns:
- The location a comm adapter has been attached to.
-
getAttachmentInformation
Returns the information to the actual attachment.- Returns:
- The information to the actual attachment.
-