oogp2p.pastry.commands
Class CreatePastryCommand

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.Command
          extended byoogp2p.pastry.commands.PastryCommand
              extended byoogp2p.pastry.commands.CreatePastryCommand

public class CreatePastryCommand
extends PastryCommand

Author:
sjg To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
private  java.lang.String commandName
           
 
Fields inherited from class oogp2p.pastry.commands.PastryCommand
 
Fields inherited from class oogp2p.InfoReceived
myNettableReceiver, myNettableSender
 
Constructor Summary
CreatePastryCommand()
           
CreatePastryCommand(Nettable n)
           
 
Method Summary
 void execute()
           
 boolean isType(Nettable n)
           
 InfoReceived makeType(Nettable n)
           
 
Methods inherited from class oogp2p.pastry.commands.PastryCommand
setNumHops
 
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

commandName

private java.lang.String commandName
Constructor Detail

CreatePastryCommand

public CreatePastryCommand()

CreatePastryCommand

public CreatePastryCommand(Nettable n)
Method Detail

isType

public boolean isType(Nettable n)
Overrides:
isType in class PastryCommand
See Also:
Command.isType(oogp2p.Nettable)

makeType

public InfoReceived makeType(Nettable n)
Overrides:
makeType in class PastryCommand
See Also:
Command.makeType(oogp2p.Nettable)

execute

public void execute()
Overrides:
execute in class PastryCommand