public class ContainerSharedObjectMessageSendingEvent extends Object implements IContainerSharedObjectMessageSendingEvent
IContainerSharedObjectMessageSendingEvent.| Modifier and Type | Field and Description |
|---|---|
protected ID |
localContainerID |
protected Object |
message |
protected ID |
sharedObjectID |
protected ID |
targetContainerID |
| Constructor and Description |
|---|
ContainerSharedObjectMessageSendingEvent(ID localContainerID,
ID targetContainerID,
ID sharedObjectID,
Object message) |
| Modifier and Type | Method and Description |
|---|---|
ID |
getLocalContainerID()
Get ID of local discovery container (the discovery container receiving this event).
|
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.
|
String |
toString() |
protected ID localContainerID
protected ID targetContainerID
protected ID sharedObjectID
protected Object message
public Object getMessage()
IContainerSharedObjectMessageSendingEventIContainerSharedObjectMessageSendingEvent.getSharedObjectID(). May be null if null
is being sent.getMessage in interface IContainerSharedObjectMessageSendingEventIContainerSharedObjectMessageSendingEvent.getSharedObjectID().
May be null.public ID getSharedObjectID()
IContainerSharedObjectMessageSendingEventnull
and the ID given will be the ID of a currently active shared object existing within the
enclosing container.getSharedObjectID in interface IContainerSharedObjectMessageSendingEventnull.public ID getTargetContainerID()
IContainerSharedObjectMessageSendingEventgetTargetContainerID in interface IContainerSharedObjectMessageSendingEventnull, this indicates
that all container members of group should receive the message being sent.public ID getLocalContainerID()
IContainerEventgetLocalContainerID in interface IContainerEventnull.Copyright © 2004–2020 Eclipse Foundation. All rights reserved.