|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.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 | |
Endpoint |
buildEndpoint(Application application,
java.lang.String instance)
DESCRIBE THE METHOD |
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,
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 wrappingMethod Detail |
public NodeHandle getLocalNodeHandle()
getLocalNodeHandle
in interface Node
public Id getId()
getId
in interface Node
public IdFactory getIdFactory()
getIdFactory
in interface Node
public Environment getEnvironment()
getEnvironment
in interface Node
public Endpoint registerApplication(Application application, java.lang.String instance)
registerApplication
in interface Node
application
- The Applicationinstance
- An identifier for a given instance
public Endpoint buildEndpoint(Application application, java.lang.String instance)
buildEndpoint
in interface Node
application
- DESCRIBE THE PARAMETERinstance
- DESCRIBE THE PARAMETER
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |