|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalMessageListener
This is the server side implementation of a message listener
| Method Summary | |
|---|---|
void |
onMessage(MessageHandle message,
boolean ack)
Send the specified message to the client. |
void |
onMessageAvailable(long clientId)
Inform the session that there is a message available for the message consumer with the specified identity |
void |
onMessages(java.util.Vector messages)
Send the specified collection of messages to the client |
| Method Detail |
|---|
void onMessage(MessageHandle message,
boolean ack)
throws java.lang.Exception
message - - message handleack - - false ignores the acking policy
java.lang.Exception - - propagate exceptions to client
void onMessages(java.util.Vector messages)
throws java.lang.Exception
messages - - collection of MessageHandle objects
java.lang.Exception - - propagate exceptions to client
void onMessageAvailable(long clientId)
throws java.lang.Exception
clientId - - the identity of the client
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||