net.sf.juoserver.api
Interface MessageDecoder


public interface MessageDecoder

Contract for a class capable of decoding a Message from a raw bytes chunk.


Method Summary
 Message decode(byte[] contents)
          Decodes a Message from a raw bytes chunk.
 

Method Detail

decode

Message decode(byte[] contents)
Decodes a Message from a raw bytes chunk.

Parameters:
contents -
Returns:
the decoded message
Throws:
MessageReaderException


Copyright © 2010-2012. All Rights Reserved.