class VardanServer.sendingCb extends cMsgCallbackAdapter
Constructor and Description |
---|
sendingCb() |
Modifier and Type | Method and Description |
---|---|
void |
callback(cMsgMessage msg,
java.lang.Object userObject)
Callback method definition.
|
int |
getMaximumQueueSize()
Method to get the maximum number of messages to queue for the callback.
|
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.
|
getMaximumThreads, getMessagesPerThread, mustSerializeMessages
public boolean maySkipMessages()
cMsgCallbackAdapter
maySkipMessages
in interface cMsgCallbackInterface
maySkipMessages
in class cMsgCallbackAdapter
public int getMaximumQueueSize()
cMsgCallbackAdapter
getMaximumQueueSize
in interface cMsgCallbackInterface
getMaximumQueueSize
in class cMsgCallbackAdapter
public int getSkipSize()
cMsgCallbackAdapter
getSkipSize
in interface cMsgCallbackInterface
getSkipSize
in class cMsgCallbackAdapter
public void callback(cMsgMessage msg, java.lang.Object userObject)
cMsgCallbackAdapter
callback
in interface cMsgCallbackInterface
callback
in class cMsgCallbackAdapter
msg
- 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.