class DoubleTest.DoubleSendingCallback extends cMsgCallbackAdapter
| Constructor and Description |
|---|
DoubleSendingCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
callback(cMsgMessage msg,
java.lang.Object userObject)
Callback method definition.
|
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.
|
getMaximumQueueSize, getMaximumThreads, getMessagesPerThread, mustSerializeMessagespublic void callback(cMsgMessage msg, java.lang.Object userObject)
cMsgCallbackAdaptercallback in interface cMsgCallbackInterfacecallback in class cMsgCallbackAdaptermsg - message received from domain serveruserObject - object passed as an argument which was set when the
client originally subscribed to a subject and type of
message.public boolean maySkipMessages()
cMsgCallbackAdaptermaySkipMessages in interface cMsgCallbackInterfacemaySkipMessages in class cMsgCallbackAdapterpublic int getSkipSize()
cMsgCallbackAdaptergetSkipSize in interface cMsgCallbackInterfacegetSkipSize in class cMsgCallbackAdapter