| Access | Constructor and Description |
|---|---|
| public | SynchronizedMessageSourceConduit(final MessageSourceConduit
the next conduit in the chain next)Construct a new instance. |
| public | SynchronizedMessageSourceConduit(final MessageSourceConduit
the next conduit in the chain next, final Object the lock object to use lock)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| SynchronizedMessageSourceConduit | back to summary |
|---|---|
| public SynchronizedMessageSourceConduit(final MessageSourceConduit next) Construct a new instance. A new lock object is created.
| |
| SynchronizedMessageSourceConduit | back to summary |
|---|---|
| public SynchronizedMessageSourceConduit(final MessageSourceConduit next, final Object lock) Construct a new instance.
| |
| 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.
| |