sharpster.common
Class ClientDaemonMessage

java.lang.Object
  |
  +--sharpster.common.ClientDaemonMessage
All Implemented Interfaces:
java.io.Serializable

public class ClientDaemonMessage
extends java.lang.Object
implements java.io.Serializable

Class holding objects to be passed between the Client Communication Module and the Daemon Communication Module.

See Also:
Serialized Form

Field Summary
 sharpster.common.GroupCommand command
           
 int commandId
          A number that maps to the correct command.
 java.lang.String CVScommand
          Holds the CVScommand for methods that need it.
 sharpster.common.FileCollection files
          Holds the FileCollection for methods that need it.
 java.lang.String fromUser
          Holds fromUser for methods that need it.
 sharpster.common.ResponseCollection response
          Holds the ResponseCollection for methods that need it.
 java.lang.String role
           
 java.lang.String workingDirectory
          Holds workingDirectory for methods that need it.
 
Constructor Summary
ClientDaemonMessage()
          Constructs a daemon communication object
 
Method Summary
 void clear()
          Sets default empty values for all attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

role

public java.lang.String role

command

public sharpster.common.GroupCommand command

commandId

public int commandId
A number that maps to the correct command.


fromUser

public java.lang.String fromUser
Holds fromUser for methods that need it.


workingDirectory

public java.lang.String workingDirectory
Holds workingDirectory for methods that need it.


CVScommand

public java.lang.String CVScommand
Holds the CVScommand for methods that need it.


files

public sharpster.common.FileCollection files
Holds the FileCollection for methods that need it.


response

public sharpster.common.ResponseCollection response
Holds the ResponseCollection for methods that need it.

Constructor Detail

ClientDaemonMessage

public ClientDaemonMessage()
Constructs a daemon communication object

Method Detail

clear

public void clear()
Sets default empty values for all attributes.