rreval
Class AppCmd

java.lang.Object
  extended by rreval.AppCmd
All Implemented Interfaces:
java.io.Serializable

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

A command from the user to be performed by the client or server app. These handled by the apps - they are never sent to the rreval server.

A command is transmitted as a delimited string (the default delimiter is '&'). Each element is of the form <label>=<value>. At a minimum, a command must have the 'cmd' element, which specifies the unique command name.

See Also:
Serialized Form

Field Summary
static java.lang.String CMD_NAME
           
static java.lang.String DELIM
           
 
Constructor Summary
AppCmd(java.lang.String cs)
           
 
Method Summary
static java.lang.String createCmdString(java.lang.String cmdName)
           
 java.lang.String getCmdName()
           
 java.lang.String getVal(java.lang.String label)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DELIM

public static java.lang.String DELIM

CMD_NAME

public static java.lang.String CMD_NAME
Constructor Detail

AppCmd

public AppCmd(java.lang.String cs)
Method Detail

getCmdName

public java.lang.String getCmdName()

getVal

public java.lang.String getVal(java.lang.String label)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createCmdString

public static java.lang.String createCmdString(java.lang.String cmdName)