org.freecompany.redline
Interface ChannelWrapper.Consumer<T>

Enclosing class:
ChannelWrapper

protected static interface ChannelWrapper.Consumer<T>

Interface describing an object that consumes data from a NIO buffer.


Method Summary
 void consume(ByteBuffer buffer)
          Consume some input from the given buffer.
 T finish()
          Complete operationds and optionally return a value to the holder of the key.
 

Method Detail

consume

void consume(ByteBuffer buffer)
Consume some input from the given buffer.


finish

T finish()
Complete operationds and optionally return a value to the holder of the key.



Copyright © 2014. All Rights Reserved.