net.sf.juoserver.api
Interface MessageDecoderProvider

All Known Implementing Classes:
ClasspathMessageDecoderProvider

public interface MessageDecoderProvider

Contract for a class capable of providing MessageDecoders by examining the first byte of a given raw message.


Method Summary
 MessageDecoder getDecoder(byte firstByte)
          Retrieves a MessageDecoder for the message identified by the provided contents's {firstByte.
 

Method Detail

getDecoder

MessageDecoder getDecoder(byte firstByte)
Retrieves a MessageDecoder for the message identified by the provided contents's {firstByte.

Parameters:
firstByte - raw contents' first byte
Returns:
a MessageDecoder for the message identified by the provided contents's first byte


Copyright © 2010-2012. All Rights Reserved.