oogp2p.chat.commands
Class MultiChatCommand

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.Command
          extended byoogp2p.chat.commands.ChatCommand
              extended byoogp2p.chat.commands.MultiChatCommand

public class MultiChatCommand
extends ChatCommand

MultiChatCommand.java Created: Sun Apr 27 20:06:48 2003

Version:
Author:
OOGs

Field Summary
private  java.lang.String commandName
           
private  java.lang.String myCommandInfo
           
 
Fields inherited from class oogp2p.InfoReceived
myNettableReceiver, myNettableSender
 
Constructor Summary
  MultiChatCommand()
           
protected MultiChatCommand(Nettable n)
           
 
Method Summary
 void execute()
           
 boolean isType(Nettable n)
           
 InfoReceived makeType(Nettable n)
           
 java.util.Vector parsePeers(AllPeers peers)
          Parses out the names of the people to chat with from the given command line.
private  void sendInitNettable(Connection ct, java.util.Vector peerInfo)
           
 
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

myCommandInfo

private java.lang.String myCommandInfo
Constructor Detail

MultiChatCommand

public MultiChatCommand()

MultiChatCommand

protected MultiChatCommand(Nettable n)
Method Detail

isType

public boolean isType(Nettable n)
Overrides:
isType in class ChatCommand

makeType

public InfoReceived makeType(Nettable n)
Overrides:
makeType in class ChatCommand

execute

public void execute()
Overrides:
execute in class ChatCommand

parsePeers

public java.util.Vector parsePeers(AllPeers peers)
Parses out the names of the people to chat with from the given command line. Then returns a Veclor of Peer objecls.


sendInitNettable

private void sendInitNettable(Connection ct,
                              java.util.Vector peerInfo)