|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PostinaID | |
|---|---|
| ca.mcgill.cs.postina | Provides the classes and methodes publicly available to users of Postina. |
| ca.mcgill.cs.postina.scribe | |
| Uses of PostinaID in ca.mcgill.cs.postina |
|---|
| Methods in ca.mcgill.cs.postina that return PostinaID | |
|---|---|
PostinaID |
PostinaNetworkLayer.connect()
Connects to the P2P-network and initializes the node. |
PostinaID |
PostinaNetworkLayer.connect(java.net.InetAddress bindAddress,
int bindport,
java.util.Collection<java.net.InetSocketAddress> bootAddresses)
This method is an alternative to the other connect method to
specify all configuration parameters as an argument, which is especially
important for the localBindAddress. |
PostinaID |
PostinaNetworkLayer.connect(int bindport,
java.util.Collection<java.net.InetSocketAddress> bootAddresses)
Connects to the P2P-network and initializes the node. |
PostinaID |
PostinaMessage.getFrom()
This method gets the PostinaID identifying the
sender/publisher of the message. |
PostinaID |
PostinaNetworkLayer.getID()
Gets the PostinaID of the current client. |
| Methods in ca.mcgill.cs.postina with parameters of type PostinaID | |
|---|---|
void |
PostinaClientListener.clientLeft(PostinaID clientID)
The method clientLeft is called when a client has left or is supposed to have left the network. |
void |
PostinaNetworkLayer.send(PostinaID destination,
java.io.Serializable content)
Sends a message directly to the client identified by the PostinaID. |
void |
PostinaNetworkLayer.sendReliable(PostinaID destination,
java.io.Serializable content)
|
void |
PostinaNetworkLayer.subscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
Subscribes the client specified by the PostinaID to a
Collection of PostinaTopics. |
void |
PostinaNetworkLayer.subscribeOther(PostinaTopic topic,
PostinaID client)
Subscribes the client specified by the PostinaID to a
PostinaTopic. |
void |
PostinaNetworkLayer.subscribeOther(java.lang.String topicName,
PostinaID client)
Subscribes the client specified by the PostinaID to the
topic identified by the string. |
void |
PostinaNetworkLayer.unsubscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
Unsubscribes the client specified by the PostinaID from a
Collectionof PostinaTopics. |
void |
PostinaNetworkLayer.unsubscribeOther(PostinaTopic topic,
PostinaID client)
Unsubscribes the client specified by the PostinaID to a
PostinaTopic. |
void |
PostinaNetworkLayer.unsubscribeOther(java.lang.String topicName,
PostinaID client)
Unsubscribes the client specified by the PostinaID from
the topic identified by the string. |
| Uses of PostinaID in ca.mcgill.cs.postina.scribe |
|---|
| Classes in ca.mcgill.cs.postina.scribe that implement PostinaID | |
|---|---|
class |
ScribeID
The concrete implementation of PostinaID that is used internally by Postina. |
| Fields in ca.mcgill.cs.postina.scribe declared as PostinaID | |
|---|---|
private PostinaID |
PostinaScribeTransportMessage.from
The PostinaID identifying the sender/publisher of the message. |
protected PostinaID |
ScribeNetworkLayer.nodeID
The PostinaID uniquely identifying the node. |
| Methods in ca.mcgill.cs.postina.scribe that return PostinaID | |
|---|---|
PostinaID |
ScribeNetworkLayer.connect()
|
PostinaID |
ScribeNetworkLayer.connect(java.net.InetAddress bindAddress,
int bindport,
java.util.Collection<java.net.InetSocketAddress> bootAddresses)
|
PostinaID |
ScribeNetworkLayer.connect(int bindport,
java.util.Collection<java.net.InetSocketAddress> bootAddresses)
|
PostinaID |
PostinaScribeTransportMessage.getFrom()
|
PostinaID |
ScribeNetworkLayer.getID()
|
| Methods in ca.mcgill.cs.postina.scribe with parameters of type PostinaID | |
|---|---|
void |
ScribeNetworkLayer.clientLeft(PostinaID clientID)
|
void |
ScribeNetworkLayer.send(PostinaID destination,
java.io.Serializable content)
|
void |
ScribeNetworkLayer.sendReliable(PostinaID destination,
java.io.Serializable content)
|
void |
ScribeNetworkLayer.subscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
|
void |
ScribeNetworkLayer.subscribeOther(PostinaTopic topic,
PostinaID client)
|
void |
ScribeNetworkLayer.subscribeOther(java.lang.String topicName,
PostinaID client)
|
void |
ScribeNetworkLayer.unsubscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
|
void |
ScribeNetworkLayer.unsubscribeOther(PostinaTopic topic,
PostinaID client)
|
void |
ScribeNetworkLayer.unsubscribeOther(java.lang.String topicName,
PostinaID client)
|
| Constructors in ca.mcgill.cs.postina.scribe with parameters of type PostinaID | |
|---|---|
PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content)
The constructor for a PostinaReliableScribeTransportMessage without a special priority indicated. |
|
PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content,
int priority)
The constructor for a PostinaReliableScribeTransportMessage without a special priority. |
|
PostinaScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content)
An alternative constructor for a PostinaScribeTransportMessage without a specific priority. |
|
PostinaScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content,
int priority)
The default constructor for a PostinaScribeTransportMessage
taking all properties including the priority. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||