Package peer2me.message

Interface Summary
Serializable This interface must be implemented by all Java objects that are going to be sent over the network as serializable objects.
 

Class Summary
FileInfo A class that contains information about a received file.
FileObject Parent class of the two childclasses SendFileObject and ReceivedFileObject A FileObject can be attached to a Message
LinkedMessageList This class is a dynamically linked list that is used by the framework to store messages that are ready to be sent.
LinkedPingRecipientsList This class is a dynamically linked list that is used by the framework to store pings that are ready to be sent.
Message This class is used by the framework to exchange messages between nodes in the network.
MessagePart There are three main types of information that can be stored in a MessagePart: serialized objectBytes, fileObject and primitive variables such as int, double, String etc...
ObjectInputStream When a node receives a stream of bytes, this class deserializes the stream and creates an object of it.
ObjectOutputStream When a serialized object is added to a message, this class serializes it into a bytestream so that it can be sent over the network.
ReceivedFileObject This class extends FileObject and implements Runnable and is used by the Message class.
SendableNodeInfo This class implements the interface Serializable and is used by the framework to send information about all the nodes in the network.
SendFileObject This class extends FileObject and implements Runnable and is used by the Message class.