org.eclipse.corona.collaboration.ecf.sharedobject
Class TopicSharedObjectMessage
java.lang.Object
org.eclipse.corona.collaboration.ecf.sharedobject.TopicSharedObjectMessage
- All Implemented Interfaces:
- java.io.Serializable, org.eclipse.ecf.core.util.Event
public class TopicSharedObjectMessage
- extends java.lang.Object
- implements org.eclipse.ecf.core.util.Event, java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
TopicSharedObjectMessage(org.eclipse.ecf.core.identity.ID senderSharedObjectID,
org.eclipse.ecf.core.identity.ID remoteContainerID,
java.lang.Object data)
Class Constructor. |
Method Summary |
java.lang.Object |
getData()
Retrieve the data associated with the shared object event. |
org.eclipse.ecf.core.identity.ID |
getRemoteContainerID()
Retrieve the id of the container that sent the event. |
org.eclipse.ecf.core.identity.ID |
getSenderSharedObjectID()
Retrieve the id of the shared object used to send the shared
object event. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EVENT_TYPE_OBJECT
public static int EVENT_TYPE_OBJECT
EVENT_TYPE_EVENT
public static int EVENT_TYPE_EVENT
EVENT_TYPE_MESSAGE
public static int EVENT_TYPE_MESSAGE
TopicSharedObjectMessage
public TopicSharedObjectMessage(org.eclipse.ecf.core.identity.ID senderSharedObjectID,
org.eclipse.ecf.core.identity.ID remoteContainerID,
java.lang.Object data)
- Class Constructor. Constructs an instance of TSFSharedObjectEvent.
- Parameters:
senderSharedObjectID
- Id of the shared object used to send the shared
object event.remoteContainerID
- The Id of the container that sent the event.data
- The data to be sent.
getSenderSharedObjectID
public org.eclipse.ecf.core.identity.ID getSenderSharedObjectID()
- Retrieve the id of the shared object used to send the shared
object event.
- Returns:
- Id of the shared object used to send the shared object
event.
getRemoteContainerID
public org.eclipse.ecf.core.identity.ID getRemoteContainerID()
- Retrieve the id of the container that sent the event.
- Returns:
- The Id of the container that sent the event.
getData
public java.lang.Object getData()
- Retrieve the data associated with the shared object event.
- Returns:
- Data associated with the shared object event
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object