|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpeersim.core.GeneralNode
peersim.core.ModifiableNode
public class ModifiableNode
This class extends GeneralNode by allowing to modify single protocol instances at nodes.
| Parameter Summary |
|---|
| Parameters inherited from interface peersim.core.Node |
|---|
protocol |
| Field Summary |
|---|
| Fields inherited from class peersim.core.GeneralNode |
|---|
failstate, protocol |
| Fields inherited from interface peersim.core.Fallible |
|---|
DEAD, DOWN, OK |
| Constructor Summary | |
|---|---|
ModifiableNode(java.lang.String prefix)
Invokes the super constructor. |
|
| Method Summary | |
|---|---|
void |
setProtocol(int pid,
Protocol prot)
Substitutes the specified protocol at this node. |
| Methods inherited from class peersim.core.GeneralNode |
|---|
clone, getFailState, getID, getIndex, getProtocol, hashCode, isUp, protocolSize, setFailState, setIndex, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModifiableNode(java.lang.String prefix)
| Method Detail |
|---|
public void setProtocol(int pid,
Protocol prot)
pid - protocol identifierprot - the protocol object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||