public abstract class ByteArrayReadChannelListener extends Object implements org.xnio.ChannelListener<org.xnio.channels.StreamSourceChannel>
Constructor and Description |
---|
ByteArrayReadChannelListener(ByteBufferPool bufferPool) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
byteArrayDone(byte[] bs) |
protected abstract void |
error(IOException e) |
void |
handleEvent(org.xnio.channels.StreamSourceChannel c) |
void |
setup(org.xnio.channels.StreamSourceChannel c) |
public ByteArrayReadChannelListener(ByteBufferPool bufferPool)
public final void setup(org.xnio.channels.StreamSourceChannel c)
public final void handleEvent(org.xnio.channels.StreamSourceChannel c)
handleEvent
in interface org.xnio.ChannelListener<org.xnio.channels.StreamSourceChannel>
protected abstract void byteArrayDone(byte[] bs)
protected abstract void error(IOException e)