|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.AbstractQueueReceiver
Field Summary |
Fields inherited from interface com.genesyslab.platform.commons.protocol.Receiver |
DEF_INPUT_SIZE |
Method Summary | |
void |
clearInput()
Clears input of the receiver. |
int |
getInputSize()
Return the amount of messages this Receiver can hold before start to "forget stale messages" |
int |
getMaxInputSize()
|
void |
onChannelClosed(ChannelClosedEvent event)
|
void |
onChannelError(ChannelErrorEvent event)
|
void |
onChannelOpened(java.util.EventObject event)
|
void |
releaseReceivers()
Notify receivers (threads waiting on receive() methods) they should stop waiting and return null. |
void |
setInputSize(int inputSize)
Set the amount of messages this Receiver can hold before start to "forget stale messages" |
void |
setMaxInputSize(int maxInputSize)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getInputSize()
Receiver
getInputSize
in interface Receiver
public void setInputSize(int inputSize)
Receiver
setInputSize
in interface Receiver
inputSize
- maximum count of messages stored in receiverpublic int getMaxInputSize()
public void setMaxInputSize(int maxInputSize)
public void clearInput()
Receiver
clearInput
in interface Receiver
public void onChannelOpened(java.util.EventObject event)
onChannelOpened
in interface ChannelListener
public void onChannelClosed(ChannelClosedEvent event)
onChannelClosed
in interface ChannelListener
public void onChannelError(ChannelErrorEvent event)
onChannelError
in interface ChannelListener
public void releaseReceivers()
Receiver
releaseReceivers
in interface Receiver
|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |