|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Listener
Cometd Listener interface.
For local clients, in order to receive messages, they pass in a callback object
when the local client is created using the Bayeux.newClient(String,Listener) method.
This callback object, implementing the Listener interface, is used to deliver messages to local, in JVM, clients.
| Method Summary | |
|---|---|
void |
deliver(Message[] msg)
Invoked when a message is delivered to the client. |
void |
removed(boolean timeout)
This method is called when the client is removed (explicitly or from a timeout) |
| Method Detail |
|---|
void removed(boolean timeout)
timeout - - true if the client was removed from a timeout
false if it was removed explicitly.void deliver(Message[] msg)
Client.deliver(Message) then the channel reference will
be null.
msg -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||