com.partnersoft.staker.hub.commands
Class AbstractHubCommand

java.lang.Object
  extended by com.partnersoft.staker.hub.commands.AbstractHubCommand
All Implemented Interfaces:
HubCommand
Direct Known Subclasses:
AsynchronousHubCommand, UnpackMaps

public abstract class AbstractHubCommand
extends java.lang.Object
implements HubCommand


Constructor Summary
AbstractHubCommand()
           
AbstractHubCommand(java.lang.String userName)
           
 
Method Summary
 java.lang.String getUserName()
          The user name or process initiating the command.
 void setUserName(java.lang.String newName)
          Set the user name or process initiating the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.partnersoft.staker.hub.commands.HubCommand
runCommand
 

Constructor Detail

AbstractHubCommand

public AbstractHubCommand()

AbstractHubCommand

public AbstractHubCommand(java.lang.String userName)
Method Detail

getUserName

public java.lang.String getUserName()
Description copied from interface: HubCommand
The user name or process initiating the command.

Specified by:
getUserName in interface HubCommand
Returns:
user name

setUserName

public void setUserName(java.lang.String newName)
Description copied from interface: HubCommand
Set the user name or process initiating the command.

Specified by:
setUserName in interface HubCommand