|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.LocalNode
Implementation of the LocalNodeI interface that some Serializable classes (such as Certificate) extend, if they want to be kept informed of what node they're on. If a class cannot use this provided implementation (for reasons such as multiple inheritance), it should implement the method provided in the LocalNode interface in the same manner as these.
| Field Summary |
| Fields inherited from interface rice.pastry.LocalNodeI |
pending |
| Constructor Summary | |
LocalNode()
|
|
| Method Summary | |
void |
afterSetLocalNode()
Method that can be overridden by handle to set isLocal, etc. |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalNode()
| Method Detail |
public final PastryNode getLocalNode()
getLocalNode in interface LocalNodeIpublic final void setLocalNode(PastryNode pn)
setLocalNode in interface LocalNodeIpublic void afterSetLocalNode()
public final void assertLocalNode()
assertLocalNode in interface LocalNodeI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||