Class ContainerSharedObjectMessageSendingEvent
java.lang.Object
org.eclipse.ecf.core.sharedobject.events.ContainerSharedObjectMessageSendingEvent
- All Implemented Interfaces:
IContainerEvent
,IContainerSharedObjectMessageSendingEvent
,Event
public class ContainerSharedObjectMessageSendingEvent
extends Object
implements IContainerSharedObjectMessageSendingEvent
Event class implementing
IContainerSharedObjectMessageSendingEvent
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionContainerSharedObjectMessageSendingEvent
(ID localContainerID, ID targetContainerID, 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 shared object ID of the sending shared object.Get the target container ID for the message being sent.toString()
-
Field Details
-
localContainerID
-
targetContainerID
-
message
-
-
Constructor Details
-
ContainerSharedObjectMessageSendingEvent
-
-
Method Details
-
getMessage
Description copied from interface:IContainerSharedObjectMessageSendingEvent
Get the message being sent. This will return the message being sent by the shared object identified byIContainerSharedObjectMessageSendingEvent.getSharedObjectID()
. May benull
if null is being sent.- Specified by:
getMessage
in interfaceIContainerSharedObjectMessageSendingEvent
- Returns:
- Object the message being sent by the shared object identified via
IContainerSharedObjectMessageSendingEvent.getSharedObjectID()
. May benull
.
-
getTargetContainerID
Description copied from interface:IContainerSharedObjectMessageSendingEvent
Get the target container ID for the message being sent.- Specified by:
getTargetContainerID
in interfaceIContainerSharedObjectMessageSendingEvent
- Returns:
- ID of target container for the message being sent. If
null
, this indicates that all container members of group should receive the message being sent.
-
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
-