|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.past.gc.GCNode
| Field Summary | |
protected Node |
node
The node which this mulitring node is wrapping |
| Constructor Summary | |
GCNode(Node node)
Constructor |
|
| Method Summary | |
Environment |
getEnvironment()
Gets the Environment attribute of the GCNode object |
Id |
getId()
Returns the Id of this node |
IdFactory |
getIdFactory()
Returns a factory for Ids specific to this node's protocol. |
NodeHandle |
getLocalNodeHandle()
Method which returns the node handle to the local node |
Endpoint |
registerApplication(Application application,
int port)
This returns a Endpoint specific to the given application and instance name to the application, which the application can then use in order to send an receive messages. |
Endpoint |
registerApplication(Application application,
java.lang.String instance)
This returns a VirtualizedNode specific to the given application and instance name to the application, which the application can then use in order to send an receive messages. |
java.lang.String |
toString()
Prints out the string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Node node
| Constructor Detail |
public GCNode(Node node)
node - The node which this multiring node is wrapping| Method Detail |
public NodeHandle getLocalNodeHandle()
getLocalNodeHandle in interface Nodepublic Id getId()
getId in interface Nodepublic IdFactory getIdFactory()
getIdFactory in interface Nodepublic Environment getEnvironment()
getEnvironment in interface Node
public Endpoint registerApplication(Application application,
java.lang.String instance)
registerApplication in interface Nodeapplication - The Applicationinstance - An identifier for a given instance
public Endpoint registerApplication(Application application,
int port)
registerApplication in interface Nodeapplication - The Applicationport - The port to use
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||