|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoogp2p.InfoReceived
oogp2p.Command
oogp2p.chord.commands.ChordCommand
| Field Summary | |
private java.lang.String |
commandName
|
private int |
myNumHops
|
| Fields inherited from class oogp2p.InfoReceived |
myNettableReceiver, myNettableSender |
| Constructor Summary | |
ChordCommand()
|
|
ChordCommand(Nettable n)
|
|
| Method Summary | |
void |
execute()
|
boolean |
isType(Nettable n)
|
InfoReceived |
makeType(Nettable n)
|
void |
setNumHops(int num)
|
| Methods inherited from class oogp2p.Command |
getUsername, recvInfo, sendInfo, sendInfo |
| Methods inherited from class oogp2p.InfoReceived |
getNettableReceiver, getNettableSender |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private int myNumHops
private java.lang.String commandName
| Constructor Detail |
public ChordCommand()
public ChordCommand(Nettable n)
| Method Detail |
public boolean isType(Nettable n)
isType in class Commandpublic InfoReceived makeType(Nettable n)
makeType in class Commandpublic void setNumHops(int num)
public void execute()
execute in class Command
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||