Class ContainerSharedObjectMessageReceivingEvent
java.lang.Object
org.eclipse.ecf.core.sharedobject.events.ContainerSharedObjectMessageReceivingEvent
- All Implemented Interfaces:
IContainerEvent
,IContainerSharedObjectMessageReceivingEvent
,Event
public class ContainerSharedObjectMessageReceivingEvent
extends Object
implements IContainerSharedObjectMessageReceivingEvent
Event class implementing
IContainerSharedObjectMessageReceivingEvent
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionContainerSharedObjectMessageReceivingEvent
(ID localContainerID, ID sendingContainerID, ID sharedObjectID, Object message) -
Method Summary
Modifier and TypeMethodDescriptionGet ID of local discovery container (the discovery container receiving this event).Get the message being sent.Get the sending container ID for the message being sent.Get the shared object ID of the sending shared object.toString()
-
Field Details
-
sendingContainerID
-
localContainerID
-
message
-
-
Constructor Details
-
ContainerSharedObjectMessageReceivingEvent
-
-
Method Details
-
getMessage
Description copied from interface:IContainerSharedObjectMessageReceivingEvent
Get the message being sent. This will return the message being sent by the shared object identified byIContainerSharedObjectMessageReceivingEvent.getSharedObjectID()
. May benull
if null is being sent.- Specified by:
getMessage
in interfaceIContainerSharedObjectMessageReceivingEvent
- Returns:
- Object the message being sent by the shared object identified via
IContainerSharedObjectMessageReceivingEvent.getSharedObjectID()
. May benull
.
-
getSendingContainerID
Description copied from interface:IContainerSharedObjectMessageReceivingEvent
Get the sending container ID for the message being sent.- Specified by:
getSendingContainerID
in interfaceIContainerSharedObjectMessageReceivingEvent
- Returns:
- ID of sending container for the message being sent. Will not be
null
.
-
getLocalContainerID
Description copied from interface:IContainerEvent
Get ID of local discovery container (the discovery container receiving this event).- Specified by:
getLocalContainerID
in interfaceIContainerEvent
- Returns:
- ID for local container. Will not return
null
.
-
toString
-