public class ContainerSharedObjectMessageSendingEvent extends java.lang.Object implements IContainerSharedObjectMessageSendingEvent
IContainerSharedObjectMessageSendingEvent
.Modifier and Type | Field and Description |
---|---|
protected ID |
localContainerID |
protected java.lang.Object |
message |
protected ID |
sharedObjectID |
protected ID |
targetContainerID |
Constructor and Description |
---|
ContainerSharedObjectMessageSendingEvent(ID localContainerID,
ID targetContainerID,
ID sharedObjectID,
java.lang.Object message) |
Modifier and Type | Method and Description |
---|---|
ID |
getLocalContainerID()
Get ID of local discovery container (the discovery container receiving this event).
|
java.lang.Object |
getMessage()
Get the message being sent.
|
ID |
getSharedObjectID()
Get the shared object ID of the sending shared object.
|
ID |
getTargetContainerID()
Get the target container ID for the message being sent.
|
java.lang.String |
toString() |
protected ID localContainerID
protected ID targetContainerID
protected ID sharedObjectID
protected java.lang.Object message
public java.lang.Object getMessage()
IContainerSharedObjectMessageSendingEvent
IContainerSharedObjectMessageSendingEvent.getSharedObjectID()
. May be null
if null
is being sent.getMessage
in interface IContainerSharedObjectMessageSendingEvent
IContainerSharedObjectMessageSendingEvent.getSharedObjectID()
.
May be null
.public ID getSharedObjectID()
IContainerSharedObjectMessageSendingEvent
null
and the ID given will be the ID of a currently active shared object existing within the
enclosing container.getSharedObjectID
in interface IContainerSharedObjectMessageSendingEvent
null
.public ID getTargetContainerID()
IContainerSharedObjectMessageSendingEvent
getTargetContainerID
in interface IContainerSharedObjectMessageSendingEvent
null
, this indicates
that all container members of group should receive the message being sent.public ID getLocalContainerID()
IContainerEvent
getLocalContainerID
in interface IContainerEvent
null
.public java.lang.String toString()
toString
in class java.lang.Object