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.
-
InterfaceDescriptiona server for a specific protocolInterface of all the object that wants to be able to be converted into a stream of bytes.
-
ClassDescriptionThis class just counts the bytes written into underlaying outputstreama connection between client and serverThis 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 MarauroaOutputSerializer is used to serialize classes that implement the Serializable interface into a OutputStream.
-
ExceptionDescriptionThis exception is thrown when a invalid version message is received.