net.sf.jbaobab.io
Interface Seperator

All Known Subinterfaces:
Protocol<P>
All Known Implementing Classes:
AbstractSeperator, ByteArraySeperator, CRLFSeperator, FixedLengthSeperator, ProtocolHelper.PackedProtocolImpl, RoughHttpProtocol

public interface Seperator

An interface for determining whether ByteBuffer is ready for seperation, seperating and terminating ByteBuffer.

Author:
Oakyoon Cha

Method Summary
 boolean ready(ByteBuffer source)
           
 ByteBuffer seperate(ByteBuffer source)
           
 ByteBuffer terminate(ByteBuffer source)
           
 

Method Detail

ready

boolean ready(ByteBuffer source)

seperate

ByteBuffer seperate(ByteBuffer source)

terminate

ByteBuffer terminate(ByteBuffer source)