Package ca.mcgill.cs.postina

Provides the classes and methodes publicly available to users of Postina.

See:
          Description

Interface Summary
PostinaClientListener A PostinaClientListener is a listener listening to changes concerning clients.
PostinaID PostinaID is the ID available to users of Postina.
PostinaMessage The class PostinaMessage is the public representation of a message/publication.
PostinaMsgListener The listener interface all applications listening to incoming messages have to implement.
PostinaNetworkLayer The main interface representing the functionalities of Postina.
PostinaTopic The interface PostinaTopic defines the representation of a topic that is visible to applications using Postina.
 

Exception Summary
PostinaAlreadyConnectedException A PostinaAlreadyConnectedException is thrown when a client that is already connected to the network tries to connect a second time.
PostinaJoinFailedException The PostinaJoinFailedException is called when a node fails to join the P2P-Network.
PostinaNoQueueException The PostinaNoQueueException is thrown when an application tries to get a message from the queue but there is no queue.
PostinaNotConnectedException The PostinaNotConnectedException is thrown when the client is not connected to the network and tries to execute an operation (e.g.
 

Package ca.mcgill.cs.postina Description

Provides the classes and methodes publicly available to users of Postina. The main interface is PostinaNetworkLayer. Additionally, the package contains the interface PostinaMsgListener for listeners interested in messages to be delivered as well as three possible exceptions: PostinaJoinFailedException, PostinaSubscribeFailedException and PostinaNoQueueException. Note that there are three more interfaces being an important part of the public API that are not in this package: PostinaID for the ID identifying a client, PostinaMessage for messages being delivered to interested applications and PostinaTopic for the topics used with publications. These are not part of this package as they cannot be instantiated by a user. PostinaTopic