|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface IIoHandlerContext
Provides the IIoHandler`s context parameters
This class is experimental and is subject to change
| Method Summary | |
|---|---|
java.util.concurrent.Executor |
getWorkerpool()
the (shared) worker pool. |
boolean |
isAppHandlerListenForConnectEvent()
returns true, if the callback handler`s onConnect method should be called |
boolean |
isAppHandlerListenForDataEvent()
returns true, if the callback handler`s onData method should be called |
boolean |
isAppHandlerListenforDisconnectEvent()
returns true, if the callback handler`s onDisconnect method should be called |
boolean |
isAppHandlerListenForTimeoutEvent()
returns true, if the callback handler`s onTimeout method should be called |
boolean |
isAppHandlerThreadSafe()
return if handler is thread save. |
boolean |
isMultithreaded()
return if handling is multithreaded. |
| Method Detail |
|---|
java.util.concurrent.Executor getWorkerpool()
isMultithreaded(),
this worker pool will also be used to perform the onXX callback Methods of the IIoHandlerCallback calls.
boolean isMultithreaded()
boolean isAppHandlerThreadSafe()
boolean isAppHandlerListenForConnectEvent()
boolean isAppHandlerListenForDataEvent()
boolean isAppHandlerListenforDisconnectEvent()
boolean isAppHandlerListenForTimeoutEvent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||