Class Summary |
Agent |
This class is the agent that locates other members of the group on behalf of
its client. |
AgentAddress |
This is a simple data object which defines a possible location of an
agent that is distinct from other locations. |
Comms |
This class is used by the Gateway class to represent a TCP socket connection
and handles asynchronous messages with it, if it is assigned one. |
Configuration |
This is a simple data object that configures agent system settings at
startup. |
ConnectCloseMessageData |
This class represents the data of an incoming connect close message. |
ConnectMessageData |
This class represents the data of an incoming connect close message. |
ConnectReplyMessageData |
This class represents the data of an incoming connect reply message. |
ExpandingDeviationStrategy |
This search algorithm starts with the last known address of the member, then
changing the last octet, then deviating the third octet by 1, then 2, then 3
etc, then deviating the second octet by 1 etc. |
Gateway |
This class is the facade or controlling class of the messaging framework. |
IncomingMessage |
This data object is a concrete subclass of Message and represents an incoming
message. |
IncomingMessageData |
Concrete subclasses of this abstract, base class represents data from
incoming messages resolved into classes used by this package. |
Locator |
This class attempts to establish socket connections to remote agents on
behalf of the Agent class using some search algorithm. |
Logger |
This class is a simple logger and is used for debugging purposes. |
Member |
This data object represents a known agent and data about them. |
MemberLocatedMessageData |
This class represents the data of an incoming member located message. |
MemberSearchStrategy |
This abstract class defines a search strategy based on a known member. |
MembershipList |
This data object is a collection of known members of the same group. |
MembershipListMessageData |
This class represents the data of an incoming membership list message. |
Message |
This abstract class defines a message than can be sent by the class Gateway. |
MessageFactory |
This class creates the messages that can be transported by the messaging
framework and interprets incoming messages from it. |
MessageParser |
This class defines the application-level communications protocol of a message
on an IO stream. |
MiscLibrary |
This class is a collection of various static library functions. |
OutgoingMessage |
This data object is a concrete subclass of Message and represents an
outcoming message. |
SequentialSearchStrategy |
This search algorithm starts from the lowest IP address in the allowed range
and increments by one till the end. |
SingleAddressStrategy |
This search algorithm only returns the last known address of the member, then
the search is exhausted. |
StatusMessageData |
This class represents the data of an incoming status message. |
StatusRequestMessageData |
This class represents the data of an incoming status request message. |
Creates independent agent service that locates other agents of the same group and notifies client. Agent reports online status of known or new members, can register to join a group and can broadcast a client-defined status string.