Processor, which is not interested in processing I/O events. Connection lifecycle should be managed
explicitly, using read/write/accept/connect methods.
This Processor could be set on Connection to avoid it from being processed by FilterChain or
other Processor. In this case Connection could be used like regular Java Socket.
| Modifier and Type | Field and Description |
|---|---|
| public static final StandaloneProcessor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StreamReader | getStreamReader(Connection<L>
Connection to get the StreamReader forGet the |
| public StreamWriter | getStreamWriter(Connection<L>
connection to get the connection)StreamWriter forGet the |
| public boolean | isInterested(IOEvent ioEvent)
Implements org.
|
| public Context | obtainContext(final Connection<L> connection)
Implements org. Creates |
| public ProcessorResult | process(final Context context)
Implements org. This method should never be called, because |
| public void | read(Connection<L> connection, CompletionHandler<E> completionHandler)
Implements org.
|
| public void | setInterested(IOEvent ioEvent, boolean isInterested)
Implements org. Method does nothing. |
| public void | write(final Connection<L> connection, final Object dstAddress, final Object message, final CompletionHandler<E> completionHandler)
Implements org.
|
| public void | write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<E> completionHandler, MessageCloner<E> messageCloner)
Implements org.
|
| public void | write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<E> completionHandler, PushBackHandler pushBackHandler)
Implements org.
Deprecated
|
| INSTANCE | back to summary |
|---|---|
| public static final StandaloneProcessor INSTANCE | |
| StandaloneProcessor | back to summary |
|---|---|
| public StandaloneProcessor() | |
| getStreamReader | back to summary |
|---|---|
| public StreamReader getStreamReader(Connection<L> connection) Get the
| |
| getStreamWriter | back to summary |
|---|---|
| public StreamWriter getStreamWriter(Connection<L> connection) Get the
| |
| isInterested | back to summary |
|---|---|
| public boolean isInterested(IOEvent ioEvent) Implements org.
| |
| obtainContext | back to summary |
|---|---|
| public Context obtainContext(final Connection<L> connection) Implements org. Doc from org. Creates
| |
| process | back to summary |
|---|---|
| public ProcessorResult process(final Context context) Implements org. This method should never be called, because
| |
| read | back to summary |
|---|---|
| public void read(Connection<L> connection, CompletionHandler<E> completionHandler) Implements org.
| |
| setInterested | back to summary |
|---|---|
| public void setInterested(IOEvent ioEvent, boolean isInterested) Implements org. Method does nothing.
| |
| write | back to summary |
|---|---|
| public void write(final Connection<L> connection, final Object dstAddress, final Object message, final CompletionHandler<E> completionHandler) Implements org.
| |
| write | back to summary |
|---|---|
| public void write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<E> completionHandler, MessageCloner<E> messageCloner) Implements org.
| |
| write | back to summary |
|---|---|
| public void write(Connection<L> connection, Object dstAddress, Object message, CompletionHandler<E> completionHandler, PushBackHandler pushBackHandler) Implements org. Deprecated
| |