Package gcs

Interface Summary
GcsAdvancedMessageListener An object implementing the GcsAdvancedMessageListener interface can act as a listener for both membership and regular messages sent through the RestGroups communication system.
GcsBasicMessageListener An object implementing the GcsBasicMessageListener interface can act as a listener for regular messages sent through the RestGroups communication system.
GcsFactory Interface for abstract factory pattern.
 

Class Summary
GcsBuilder A class which objects can store the specific GcsFactory objects.
GcsConnection Represents an abstraction of connection with the RestGroups communication system.
GcsGroup Provides an abstraction for the dynamic group.
GcsGroupID Group membership view at concrete period of time is represented by GcsGroupID object.
GcsMembershipInfo Used for conveying detailed information about changes of groups structures.
GcsMessage GcsMessage provides an abstraction for a message, both outgoing - snd using: GcsConnection.multicast(GcsMessage) GcsConnection.multicast(GcsMessage[]) ) incoming - received through: GcsConnection.receive() GcsConnection.receive(int) GcsAdvancedMessageListener GcsBasicMessageListener Outgoing message should have specified: addressees (with addGroup* methods family) data with: GcsMessage.setData(byte[]) GcsMessage.digest(Serializable) GcsMessage.setObject(Serializable) ) guarantee with GcsMessage.setAgreed() GcsMessage.setCausal() GcsMessage.setFifo() GcsMessage.setReliable() GcsMessage.setSafe() GcsMessage.setUnreliable() )
GcsMessageFactory Using an GcsMessageFactory object, a number of the same messages as one given by the argument of the constructor or with GcsMessageFactory.setDefault(GcsMessage) can be produced.
GcsMessageListener GcsMessageListener object allows blocking reception of messages through the listener message reception system.
GcsSettings In GcsSettings object all RestGroups settings are stored.
GcsVersion GcsVersion represents the version of the gcs library currently used.
 

Exception Summary
GcsException Whenever an error occurs in classes from gcs package or they subclasses, the GcsException is thrown.