|
ePOST 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 | |
|---|---|
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,
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 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 registerApplication(Application application,
int port)
registerApplication in interface Nodeapplication - The Applicationport - The port to use
public 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
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||