AbstractNioChannel base class for Channels that operate on messages.
| Access | Constructor and Description |
|---|---|
| protected | AbstractNioMessageChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect, ReadHandleFactory defaultReadHandleFactory, WriteHandleFactory defaultWriteHandleFactory, SelectableChannel ch, int readInterestOp)
|
| Modifier and Type | Method and Description |
|---|---|
| protected abstract int | doReadMessages(AbstractChannel<P, L, R>.
Read messages into the given array and return the amount which was read. |
| protected final boolean | doReadNow(AbstractChannel<P, L, R>.
the readSinkReadSink that should be called with messages that are read from the transport
to propagate these.Implements abstract io. ReadSink#processRead(int, int, Object).
|
| AbstractNioMessageChannel | back to summary |
|---|---|
| protected AbstractNioMessageChannel(P parent, EventLoop eventLoop, boolean supportingDisconnect, ReadHandleFactory defaultReadHandleFactory, WriteHandleFactory defaultWriteHandleFactory, SelectableChannel ch, int readInterestOp) | |
| doReadMessages | back to summary |
|---|---|
| protected abstract int doReadMessages(AbstractChannel<P, L, R>. Read messages into the given array and return the amount which was read. | |
| doReadNow | back to summary |
|---|---|
| protected final boolean doReadNow(AbstractChannel<P, L, R>. Implements abstract io. Doc from io. Try to read a message from the transport and dispatch it via
| |