|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cometd.oort.Oort.RootOortClientListener
protected class Oort.RootOortClientListener
MessageListener that handles publishes to /oort/cloud
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.cometd.MessageListener |
---|
MessageListener.Asynchronous, MessageListener.Synchronous |
Constructor Summary | |
---|---|
protected |
Oort.RootOortClientListener()
|
Method Summary | |
---|---|
void |
deliver(Client fromClient,
Client toClient,
Message msg)
Called when a message is delivered to the client |
void |
removed(java.lang.String clientId,
boolean timeout)
This method is called after a client is removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Oort.RootOortClientListener()
Method Detail |
---|
public void removed(java.lang.String clientId, boolean timeout)
RemoveListener
removed
in interface RemoveListener
clientId
- The clientId removedtimeout
- True if the client was removed due to a timeout.public void deliver(Client fromClient, Client toClient, Message msg)
MessageListener
deliver
in interface MessageListener
fromClient
- the client that sent the messagetoClient
- the client that received the messagemsg
- the message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |