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 implementingIContainerSharedObjectMessageReceivingEvent.
-
-
Field Summary
Fields Modifier and Type Field Description protected IDlocalContainerIDprotected Objectmessageprotected IDsendingContainerIDprotected IDsharedObjectID
-
Constructor Summary
Constructors Constructor Description ContainerSharedObjectMessageReceivingEvent(ID localContainerID, ID sendingContainerID, ID sharedObjectID, Object message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDgetLocalContainerID()Get ID of local discovery container (the discovery container receiving this event).ObjectgetMessage()Get the message being sent.IDgetSendingContainerID()Get the sending container ID for the message being sent.IDgetSharedObjectID()Get the shared object ID of the sending shared object.StringtoString()
-
-
-
Method Detail
-
getMessage
public Object getMessage()
Description copied from interface:IContainerSharedObjectMessageReceivingEventGet the message being sent. This will return the message being sent by the shared object identified byIContainerSharedObjectMessageReceivingEvent.getSharedObjectID(). May benullif null is being sent.- Specified by:
getMessagein interfaceIContainerSharedObjectMessageReceivingEvent- Returns:
- Object the message being sent by the shared object identified via
IContainerSharedObjectMessageReceivingEvent.getSharedObjectID(). May benull.
-
getSendingContainerID
public ID getSendingContainerID()
Description copied from interface:IContainerSharedObjectMessageReceivingEventGet the sending container ID for the message being sent.- Specified by:
getSendingContainerIDin interfaceIContainerSharedObjectMessageReceivingEvent- Returns:
- ID of sending container for the message being sent. Will not be
null.
-
getSharedObjectID
public ID getSharedObjectID()
Description copied from interface:IContainerSharedObjectMessageReceivingEventGet the shared object ID of the sending shared object. This value will not benulland the ID given will be the ID of a currently active shared object existing within the enclosing container.- Specified by:
getSharedObjectIDin interfaceIContainerSharedObjectMessageReceivingEvent- Returns:
- ID of the shared object that is sending the message. Will not be
null.
-
getLocalContainerID
public ID getLocalContainerID()
Description copied from interface:IContainerEventGet ID of local discovery container (the discovery container receiving this event).- Specified by:
getLocalContainerIDin interfaceIContainerEvent- Returns:
- ID for local container. Will not return
null.
-
-