|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface cMsgCallbackInterface
This interface provides an API for the client callbacks in the cMsg system.
Method Summary | |
---|---|
void |
callback(cMsgMessage msg,
java.lang.Object userObject)
Callback method definition. |
int |
getMaximumCueSize()
Method to get the maximum number of messages to cue for the callback. |
int |
getMaximumThreads()
Method to get the maximum number of supplemental threads to use for running the callback if mustSerializeMessages() returns false. |
int |
getMessagesPerThread()
Method to get the maximum number of unprocessed messages per supplemental thread. |
int |
getSkipSize()
Method to get the maximum number of messages to skip over (delete) from the cue for the callback when the cue size has reached it limit. |
boolean |
maySkipMessages()
Method telling whether messages may be skipped or not. |
boolean |
mustSerializeMessages()
Method telling whether messages must serialized -- processed in the order received. |
Method Detail |
---|
void callback(cMsgMessage msg, java.lang.Object userObject)
msg
- message received from domain serveruserObject
- object passed as an argument which was set when the
client orginally subscribed to a subject and type of
message.boolean maySkipMessages()
boolean mustSerializeMessages()
int getMaximumCueSize()
int getSkipSize()
maySkipMessages()
method returns true;
int getMaximumThreads()
mustSerializeMessages()
returns false.
int getMessagesPerThread()
mustSerializeMessages()
method returns false;
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |