rreval
Class AppCmd
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DELIM
public static java.lang.String DELIM
CMD_NAME
public static java.lang.String CMD_NAME
AppCmd
public AppCmd(java.lang.String cs)
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)