org.jnetstream.protocol.codec
Interface Decodable


public interface Decodable

Means that object can be decoded by a codec.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 CodecResult decode()
          Instruct object to start decoding process.
 

Method Detail

decode

CodecResult decode()
                   throws CodecException,
                          java.io.IOException
Instruct object to start decoding process.

Returns:
result of the decode
Throws:
CodecException - any codec related exceptions
java.io.IOException - any exceptions while aquire a data buffer