|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Selector provides synchronization support for multiple concurrent sending or receiving operations.
The service provider Selector interface extends the Selector interface
provided to Jumpi client applications with a means of notifying client
applications which are blocking in the Selector.select()
method.
Method Summary | |
void |
handleStatusChanged(Handle hdl)
Notify the Selector that one of the Handles which belongs to it has become non blocking. |
Methods inherited from interface org.jumpi.Selector |
addHandle, clear, getAllHandles, getBlockingHandles, getNonBlockingHandles, removeBlockingHandle, removeBlockingHandles, removeHandle, removeNonBlockingHandle, removeNonBlockingHandles, select, select, size |
Method Detail |
public void handleStatusChanged(Handle hdl)
Notify the Selector that one of the Handles which belongs to it has become non blocking. Any Jumpi client applications waiting in the Selector.select() method may proceed.
Each Handle is aware of the selectors to which it belongs. It is a responsibility of the Handle to inform the Selector when its internal status has changed from blocking to non blocking.
hdl
- the handle who's status has changed.Selector.select()
,
Handle.addSelector(org.jumpi.spi.Selector)
,
Handle.removeSelector(org.jumpi.spi.Selector)
|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |