util
Class LauncherPacket

java.lang.Object
  |
  +--util.LauncherPacket
All Implemented Interfaces:
Serializable

public class LauncherPacket
extends Object
implements Serializable

A little class for the launcher demon utility

See Also:
Serialized Form

Constructor Summary
LauncherPacket(String s)
           
 
Method Summary
 boolean equals(Object o)
          Equals is performed on society, catalog and name
 String getAgent()
          returns the name of the agent to be started
 String getCat()
          Get the value of cat.
 String getCommand()
          Get the value of command.
 String getName()
          Get the value of name.
 String getSoc()
          Get the value of soc.
 int hashCode()
          We put it in a hashtable and we need to get the hashcode based only on the things that we care about (soc, cat and name)
 void setAgent(String v)
           
 void setCat(String v)
          Set the value of cat.
 void setCommand(String v)
          Set the value of command.
 void setName(String v)
          Set the value of name.
 void setSoc(String v)
          Set the value of soc.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LauncherPacket

public LauncherPacket(String s)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getCommand

public String getCommand()
Get the value of command.
Returns:
Value of command.

setCommand

public void setCommand(String v)
Set the value of command.
Parameters:
v - Value to assign to command.

getSoc

public String getSoc()
Get the value of soc.
Returns:
Value of soc.

setSoc

public void setSoc(String v)
Set the value of soc.
Parameters:
v - Value to assign to soc.

getCat

public String getCat()
Get the value of cat.
Returns:
Value of cat.

setCat

public void setCat(String v)
Set the value of cat.
Parameters:
v - Value to assign to cat.

getName

public String getName()
Get the value of name.
Returns:
Value of name.

setName

public void setName(String v)
Set the value of name.
Parameters:
v - Value to assign to name.

hashCode

public int hashCode()
We put it in a hashtable and we need to get the hashcode based only on the things that we care about (soc, cat and name)
Overrides:
hashCode in class Object

getAgent

public String getAgent()
returns the name of the agent to be started

setAgent

public void setAgent(String v)

equals

public boolean equals(Object o)
Equals is performed on society, catalog and name
Overrides:
equals in class Object