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