|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
Returns a 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 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. |
Method Detail |
public Endpoint registerApplication(Application application, java.lang.String instance)
application
- The Applicationinstance
- An identifier for a given instance
public Endpoint registerApplication(Application application, int port)
application
- The Applicationport
- The port to use
public Id getId()
public IdFactory getIdFactory()
public NodeHandle getLocalNodeHandle()
public Environment getEnvironment()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |