setup(org.xnio.channels.StreamSinkChannel)
should be called, which will attempt a write, and only add the listener if required.
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | handleEvent(final StreamSinkChannel
the channel event channel)Implements org. Handle the event on this channel. |
| public boolean | |
| public void | |
| protected void |
| buffer | back to summary |
|---|---|
| private final ByteBuffer buffer | |
| StringWriteChannelListener | back to summary |
|---|---|
| public StringWriteChannelListener(final String string) | |
| StringWriteChannelListener | back to summary |
|---|---|
| public StringWriteChannelListener(final String string, Charset charset) | |
| handleError | back to summary |
|---|---|
| protected void handleError(StreamSinkChannel channel, IOException e) | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(final StreamSinkChannel channel) Implements org. Doc from org. Handle the event on this channel.
| |
| hasRemaining | back to summary |
|---|---|
| public boolean hasRemaining() | |
| setup | back to summary |
|---|---|
| public void setup(final StreamSinkChannel channel) | |
| writeDone | back to summary |
|---|---|
| protected void writeDone(final StreamSinkChannel channel) | |