|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ecf.core.sharedobject.AbstractSharedObject
org.eclipse.corona.collaboration.ecf.sharedobject.TopicSharedObject
org.eclipse.corona.collaboration.ecf.sharedobject.CoronaTopicSharedObject
public class CoronaTopicSharedObject
Field Summary |
---|
Fields inherited from class org.eclipse.corona.collaboration.ecf.sharedobject.TopicSharedObject |
---|
lock, m_ReplicateOnActivated, m_ReplicateOnJoin |
Constructor Summary | |
---|---|
CoronaTopicSharedObject()
Class contructor. |
|
CoronaTopicSharedObject(java.lang.String containerName)
Class contructor. |
Method Summary | |
---|---|
void |
createTopic(java.lang.String topic,
org.eclipse.ecf.core.identity.ID fromID)
Create a topic. |
org.eclipse.ecf.core.identity.ID |
getHomeID()
Get the ID of the home container for this shared object. |
protected void |
processMessage(java.lang.Object message)
Process a message from a member of the group to which the shared object belongs. |
void |
setTopicCreated(java.lang.String topic)
Indicates a topic has been creted on the server. |
Methods inherited from class org.eclipse.corona.collaboration.ecf.sharedobject.TopicSharedObject |
---|
acceptEvent, dispose, getID, getProperty, handleActivated, handleCreateResponse, handleDeparted, handleJoined, handlePrimaryActivated, handleReplicaActivated, initialize, processEvent, sendMessage, sendMessage, sendSharedMessage, sendSharedMessage, sendSharedObjectMsg |
Methods inherited from class org.eclipse.ecf.core.sharedobject.AbstractSharedObject |
---|
addEventProcessor, clearEventProcessors, creationCompleted, destroyRemote, destroySelf, destroySelfLocal, dispose, fireEventProcessors, getAdapter, getConfig, getContext, getGroupID, getHomeContainerID, getLocalContainerID, getProperties, getReplicaDescription, getReplicaDescriptions, getSharedObjectMsgFromEvent, handleEvent, handleEvents, handleSharedObjectCreateResponseEvent, handleSharedObjectMsg, handleSharedObjectMsgEvent, handleUnhandledEvent, init, isConnected, isPrimary, removeEventProcessor, replicateToRemoteContainers, sendSharedObjectMsgTo, sendSharedObjectMsgToPrimary, sendSharedObjectMsgToSelf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoronaTopicSharedObject()
public CoronaTopicSharedObject(java.lang.String containerName) throws org.eclipse.ecf.core.identity.IDInstantiationException
containerName
- Name of container hosting shared object.
org.eclipse.ecf.core.identity.IDInstantiationException
Method Detail |
---|
public org.eclipse.ecf.core.identity.ID getHomeID()
public void createTopic(java.lang.String topic, org.eclipse.ecf.core.identity.ID fromID)
topic
- Name of the topic to be created.fromID
- ID of container requesting the group be created.public void setTopicCreated(java.lang.String topic)
topic
- Name of the topic that was created.protected void processMessage(java.lang.Object message)
processMessage
in class TopicSharedObject
message
- Message to be processed
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |