net.sf.juoserver.api
Interface MessageReader

All Known Implementing Classes:
DefaultMessageReader

public interface MessageReader

Contract for a class capable of reading messages from byte arrays.


Method Summary
 List<Message> readMessages(byte[] packetContents)
          Returns a list of Messages by parsing the provided byte array packet chunk.
 

Method Detail

readMessages

List<Message> readMessages(byte[] packetContents)
Returns a list of Messages by parsing the provided byte array packet chunk.

Parameters:
packetContents - contents of the actual messages
Returns:
a list of Messages by parsing the provided byte array packet chunk
See Also:
UO Protocol (by POL)


Copyright © 2010-2012. All Rights Reserved.