Package marauroa.common.net


package marauroa.common.net
This package stores all the serializers to build Messages from a stream of bytes and from a Message create a stream of bytes representing it.

Also it contains a subclass with all the Message classes.

  • Interface Summary
    Interface
    Description
    a server for a specific protocol
    Interface of all the object that wants to be able to be converted into a stream of bytes.
  • Class Summary
    Class
    Description
    This class just counts the bytes written into underlaying outputstream
    a connection between client and server
    This class decodes a stream of bytes and builds a Marauroa message with it.
    This class encodes a Message as a stream of bytes.
    InputSerializer is used to serialize classes that implement the Serializable interface from an InputStream.
    MessageFactory is the class that is in charge of building the messages from the stream of bytes.
    This class hosts several constants related to the network configuration of Marauroa
    OutputSerializer is used to serialize classes that implement the Serializable interface into a OutputStream.
  • Exception Summary
    Exception
    Description
    This exception is thrown when a invalid version message is received.