| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final Pooled | receiveBuffer
References Deprecated
Pooled is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Access | Constructor and Description |
|---|---|
| public | FramingMessageSourceConduit(final StreamSourceConduit
the delegate conduit to set next, final Pooled<ByteBuffer> the transmit buffer to use receiveBuffer)
References Deprecated
Pooled is deprecated or references (maybe indirectly) at least one deprecated element.
Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | awaitReadable(final long
the time to wait time, final TimeUnit the time unit timeUnit)Overrides org. Implements org. Block until this conduit becomes readable again, or until the timeout expires. |
| public void | awaitReadable()
Overrides org. Implements org. Block until this channel becomes readable again. |
| public int | receive(final ByteBuffer
the buffer that will hold the message dst)Implements org. Receive a message. |
| public long | receive(final ByteBuffer[]
the buffers that will hold the message dsts, final int the offset into the array of buffers of the first buffer to read into offs, final int the number of buffers to fill len)Implements org. Receive a message. |
| public void | resumeReads()
Overrides org. Implements org. Indicate that the conduit's |
| public void | terminateReads()
Overrides org. Implements org. Indicate that no more data will be read from this conduit. |
| ready | back to summary |
|---|---|
| private boolean ready | |
| receiveBuffer | back to summary |
|---|---|
| private final Pooled<ByteBuffer> receiveBuffer
References Deprecated
See corresponding docs for further information. | |
| FramingMessageSourceConduit | back to summary |
|---|---|
| public FramingMessageSourceConduit(final StreamSourceConduit next, final Pooled<ByteBuffer> receiveBuffer)
References Deprecated
See corresponding docs for further information. Construct a new instance.
| |
| awaitReadable | back to summary |
|---|---|
| public void awaitReadable(final long time, final TimeUnit timeUnit) throws IOException Overrides org. Implements org. Doc from org. Block until this conduit becomes readable again, or until the timeout expires. This method may return spuriously before the conduit becomes readable or the timeout expires.
| |
| awaitReadable | back to summary |
|---|---|
| public void awaitReadable() throws IOException Overrides org. Implements org. Doc from org. Block until this channel becomes readable again. This method may return spuriously before the channel becomes readable.
| |
| receive | back to summary |
|---|---|
| public int receive(final ByteBuffer dst) throws IOException Implements org. Doc from org. Receive a message.
| |
| receive | back to summary |
|---|---|
| public long receive(final ByteBuffer[] dsts, final int offs, final int len) throws IOException Implements org. Doc from org. Receive a message.
| |
| resumeReads | back to summary |
|---|---|
| public void resumeReads() Overrides org. Implements org. Doc from org. Indicate that the conduit's | |
| terminateReads | back to summary |
|---|---|
| public void terminateReads() throws IOException Overrides org. Implements org. Doc from org. Indicate that no more data will be read from this conduit. If unread data exists, an exception may be thrown.
| |