oogp2p.chat.commands
Class ChatCommand

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.Command
          extended byoogp2p.chat.commands.ChatCommand
Direct Known Subclasses:
MultiChatCommand

public class ChatCommand
extends Command


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

ChatCommand

public ChatCommand()

ChatCommand

protected ChatCommand(Nettable n)
Method Detail

isType

public boolean isType(Nettable n)
Specified by:
isType in class Command

makeType

public InfoReceived makeType(Nettable n)
Specified by:
makeType in class Command

execute

public void execute()
Specified by:
execute in class Command