org.opengts.war.track.page.devcmd
Class DeviceCmd_gtsdmtp

java.lang.Object
  extended by org.opengts.war.track.page.devcmd.DeviceCmd_gtsdmtp
All Implemented Interfaces:
DeviceCmdHandler

public class DeviceCmd_gtsdmtp
extends java.lang.Object
implements DeviceCmdHandler


Field Summary
static java.lang.String COMMAND_INFO_UPD_PROPS
           
static java.lang.String DEVICE_CODE
           
static java.lang.String FORM_PROPERTY_EDIT
           
static java.lang.String PARM_BUTTON_BACK
           
static java.lang.String PARM_BUTTON_CANCEL
           
static java.lang.String PARM_COMMAND
           
static java.lang.String PARM_DEV_DESC
           
static java.lang.String PARM_DEVICE
           
static java.lang.String PARM_PROP_DORM_COUNT
           
static java.lang.String PARM_PROP_DORM_INTERV
           
static java.lang.String PARM_PROP_EXCESS_SPEED
           
static java.lang.String PARM_PROP_MOT_INTERV
           
static java.lang.String PARM_PROP_START_DEF
           
static java.lang.String PARM_PROP_START_TYPE
           
static java.lang.String PARM_PROP_STOP_INTERV
           
static java.lang.String PARM_PROP_STOP_TYPE
           
static java.lang.String PARM_SUBMIT_QUE
           
 
Constructor Summary
DeviceCmd_gtsdmtp()
           
 
Method Summary
 boolean deviceSupportsCommands(Device dev)
           
 java.lang.String getServerDescription()
           
 java.lang.String getServerID()
           
 java.lang.String handleDeviceCommands(RequestProperties reqState, Device selDev)
           
 void setServerIDArg(java.lang.String arg)
           
 boolean writeCommandForm(java.io.PrintWriter out, RequestProperties reqState, Device selDev, java.lang.String actionURL, boolean editProps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEVICE_CODE

public static final java.lang.String DEVICE_CODE
See Also:
Constant Field Values

FORM_PROPERTY_EDIT

public static final java.lang.String FORM_PROPERTY_EDIT
See Also:
Constant Field Values

COMMAND_INFO_UPD_PROPS

public static final java.lang.String COMMAND_INFO_UPD_PROPS
See Also:
Constant Field Values

PARM_COMMAND

public static final java.lang.String PARM_COMMAND
See Also:
Constant Field Values

PARM_DEVICE

public static final java.lang.String PARM_DEVICE
See Also:
Constant Field Values

PARM_DEV_DESC

public static final java.lang.String PARM_DEV_DESC
See Also:
Constant Field Values

PARM_SUBMIT_QUE

public static final java.lang.String PARM_SUBMIT_QUE
See Also:
Constant Field Values

PARM_BUTTON_CANCEL

public static final java.lang.String PARM_BUTTON_CANCEL
See Also:
Constant Field Values

PARM_BUTTON_BACK

public static final java.lang.String PARM_BUTTON_BACK
See Also:
Constant Field Values

PARM_PROP_START_TYPE

public static final java.lang.String PARM_PROP_START_TYPE
See Also:
Constant Field Values

PARM_PROP_START_DEF

public static final java.lang.String PARM_PROP_START_DEF
See Also:
Constant Field Values

PARM_PROP_MOT_INTERV

public static final java.lang.String PARM_PROP_MOT_INTERV
See Also:
Constant Field Values

PARM_PROP_STOP_TYPE

public static final java.lang.String PARM_PROP_STOP_TYPE
See Also:
Constant Field Values

PARM_PROP_STOP_INTERV

public static final java.lang.String PARM_PROP_STOP_INTERV
See Also:
Constant Field Values

PARM_PROP_DORM_INTERV

public static final java.lang.String PARM_PROP_DORM_INTERV
See Also:
Constant Field Values

PARM_PROP_DORM_COUNT

public static final java.lang.String PARM_PROP_DORM_COUNT
See Also:
Constant Field Values

PARM_PROP_EXCESS_SPEED

public static final java.lang.String PARM_PROP_EXCESS_SPEED
See Also:
Constant Field Values
Constructor Detail

DeviceCmd_gtsdmtp

public DeviceCmd_gtsdmtp()
Method Detail

setServerIDArg

public void setServerIDArg(java.lang.String arg)
Specified by:
setServerIDArg in interface DeviceCmdHandler

getServerID

public java.lang.String getServerID()
Specified by:
getServerID in interface DeviceCmdHandler

getServerDescription

public java.lang.String getServerDescription()
Specified by:
getServerDescription in interface DeviceCmdHandler

deviceSupportsCommands

public boolean deviceSupportsCommands(Device dev)
Specified by:
deviceSupportsCommands in interface DeviceCmdHandler

writeCommandForm

public boolean writeCommandForm(java.io.PrintWriter out,
                                RequestProperties reqState,
                                Device selDev,
                                java.lang.String actionURL,
                                boolean editProps)
                         throws java.io.IOException
Specified by:
writeCommandForm in interface DeviceCmdHandler
Throws:
java.io.IOException

handleDeviceCommands

public java.lang.String handleDeviceCommands(RequestProperties reqState,
                                             Device selDev)
Specified by:
handleDeviceCommands in interface DeviceCmdHandler