oogp2p
Class LoginNameCommand

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

public class LoginNameCommand
extends Command

LoginNameCommand.java Command to send the log-in name of the client Created: Tue Sep 16 21:51:44 2003

Version:
Author:

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

myName

private java.lang.String myName
Constructor Detail

LoginNameCommand

public LoginNameCommand()

LoginNameCommand

public LoginNameCommand(java.lang.String name)
Method Detail

isType

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

makeType

public InfoReceived makeType()

makeType

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

execute

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