|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.core.sharedobject.BaseSharedObject org.eclipse.ecf.example.clients.applications.TrivialSharedObject
public class TrivialSharedObject
Field Summary |
---|
Fields inherited from class org.eclipse.ecf.core.sharedobject.BaseSharedObject |
---|
DESTROYREMOTE_CODE, DESTROYSELFLOCAL_CODE |
Constructor Summary | |
---|---|
TrivialSharedObject()
|
Method Summary | |
---|---|
protected void |
handleMessage(java.lang.String message)
|
protected boolean |
handleSharedObjectMsg(SharedObjectMsg msg)
SharedObjectMsg handler method. |
protected void |
initialize()
Initialize this shared object. |
void |
sendMessageTo(ID targetID,
java.lang.String message)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrivialSharedObject()
Method Detail |
---|
protected void initialize() throws SharedObjectInitException
BaseSharedObject
initialize
in class BaseSharedObject
SharedObjectInitException
- if initialization should throwpublic void sendMessageTo(ID targetID, java.lang.String message)
protected boolean handleSharedObjectMsg(SharedObjectMsg msg)
BaseSharedObject
BaseSharedObject.handleSharedObjectMsgEvent(ISharedObjectMessageEvent)
when a
SharedObjectMsg is received either from a local source or a remote
source. This default implementation simply returns false so that other
processing of of the given msg can occur. Subclasses should override this
behavior to define custom logic for handling SharedObjectMsgs.
handleSharedObjectMsg
in class BaseSharedObject
msg
- the SharedObjectMsg received
protected void handleMessage(java.lang.String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |