|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is for any objects who need to automatically have the PastryNode assigned to it upon reception off of the wire. As of FreePastry 1.4.1, this is now done by the PastryObjectInputStream. The main object that needs this is the NodeHandle. So that NodeHandle.receiveMessage() will work. When using the commonAPI, this is not necessary.
Method Summary | |
void |
assertLocalNode()
May be called from handle etc methods to ensure that local node has been set, either on construction or on deserialization/receivemsg. |
PastryNode |
getLocalNode()
Accessor method. |
void |
setLocalNode(PastryNode pn)
Accessor method. |
Method Detail |
public PastryNode getLocalNode()
public void setLocalNode(PastryNode pn)
pn
- The new LocalNode valuepublic void assertLocalNode()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |