|
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
public class 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)
Same as register application, but returns an unregistered Endpoint. |
Environment |
getEnvironment()
Returns the environment. |
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 |
java.lang.String |
printRouteState()
For debugging: print the internal routing state of the Node. |
Endpoint |
registerApplication(Application application,
java.lang.String instance)
Deprecated. use buildEndpoint() endpoint.register() |
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 wrappingringId
- The Id of this node's ringMethod Detail |
---|
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)
Node
buildEndpoint
in interface Node
public NodeHandle getLocalNodeHandle()
getLocalNodeHandle
in interface Node
public Id getId()
getId
in interface Node
public IdFactory getIdFactory()
getIdFactory
in interface Node
public java.lang.String toString()
toString
in class java.lang.Object
public Environment getEnvironment()
Node
getEnvironment
in interface Node
public java.lang.String printRouteState()
Node
printRouteState
in interface Node
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |