oogp2p
Class ConnectCommand

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.Command
          extended byoogp2p.ConnectCommand

public class ConnectCommand
extends Command

ConnectCommand.java Created: Tue Apr 22 23:09:23 2003

Version:
Command to connect one client to another
Author:

Field Summary
private  java.lang.String commandName
           
 
Fields inherited from class oogp2p.InfoReceived
myNettableReceiver, myNettableSender
 
Constructor Summary
  ConnectCommand()
           
protected ConnectCommand(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

ConnectCommand

public ConnectCommand()

ConnectCommand

protected ConnectCommand(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