|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
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()
Returns a handle to the local node. |
Endpoint |
registerApplication(Application application,
java.lang.String instance)
Deprecated. use buildEndpoint(), then call Endpoint.register(), fixes synchronization problems, related to implicit behavior |
Method Detail |
---|
Endpoint registerApplication(Application application, java.lang.String instance)
application
- The Applicationinstance
- An identifier for a given instance
Id getId()
IdFactory getIdFactory()
NodeHandle getLocalNodeHandle()
Environment getEnvironment()
Endpoint buildEndpoint(Application application, java.lang.String instance)
application
- instance
-
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |