net.sf.beep4j.internal
Interface StreamParser

All Known Implementing Classes:
DefaultStreamParser

public interface StreamParser

Interface to be implemented by parsers that know how to process a BEEP stream. The stream arrives as sequence of ByteBuffer objects.

Author:
Simon Raess

Method Summary
 void process(java.nio.ByteBuffer buffer)
          Processes the content of the given ByteBuffer.
 

Method Detail

process

void process(java.nio.ByteBuffer buffer)
Processes the content of the given ByteBuffer.

Parameters:
buffer - the byte buffer
Throws:
ProtocolException - if the BEEP header is not valid


Copyright © 2007 null. All Rights Reserved.