org.mbari.siam.foce.utils
Class CLOTHProtocol

java.lang.Object
  extended by org.mbari.siam.foce.utils.CLOTHProtocol
All Implemented Interfaces:
TCPProtocol

public class CLOTHProtocol
extends java.lang.Object
implements TCPProtocol


Field Summary
protected static org.apache.log4j.Logger _log4j
           
static java.lang.String COMMAND_DELIMITER
           
static java.lang.String COMMAND_EXIT
           
static java.lang.String COMMAND_GETP
           
static java.lang.String COMMAND_GETS
           
static java.lang.String COMMAND_HELP
           
static java.lang.String COMMAND_PAUSE
           
static java.lang.String COMMAND_PNAMES
           
static java.lang.String COMMAND_QUIT
           
static java.lang.String COMMAND_RESUME
           
static java.lang.String COMMAND_SETP
           
static java.lang.String COMMAND_SNAMES
           
static java.lang.String COMMAND_START
           
static java.lang.String COMMAND_STOP
           
static java.lang.String MSG_DISCONNECT
           
static java.lang.String RESPONSE_ERR
           
static java.lang.String RESPONSE_OK
           
 
Constructor Summary
CLOTHProtocol()
           
CLOTHProtocol(ControlLoopWorker worker, ControlProcessIF phControlProcess)
           
 
Method Summary
 java.lang.String disconnectString()
           
 java.lang.String help()
           
 java.lang.String processInput(java.lang.String inputLine)
           
 java.util.Iterator terminators()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j

COMMAND_DELIMITER

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

COMMAND_SETP

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

COMMAND_GETP

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

COMMAND_GETS

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

COMMAND_PNAMES

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

COMMAND_SNAMES

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

COMMAND_HELP

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

COMMAND_START

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

COMMAND_STOP

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

COMMAND_PAUSE

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

COMMAND_RESUME

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

COMMAND_QUIT

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

COMMAND_EXIT

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

RESPONSE_OK

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

RESPONSE_ERR

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

MSG_DISCONNECT

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

CLOTHProtocol

public CLOTHProtocol(ControlLoopWorker worker,
                     ControlProcessIF phControlProcess)

CLOTHProtocol

public CLOTHProtocol()
Method Detail

terminators

public java.util.Iterator terminators()
Specified by:
terminators in interface TCPProtocol

disconnectString

public java.lang.String disconnectString()
Specified by:
disconnectString in interface TCPProtocol

help

public java.lang.String help()
Specified by:
help in interface TCPProtocol

processInput

public java.lang.String processInput(java.lang.String inputLine)
                              throws java.lang.Exception
Specified by:
processInput in interface TCPProtocol
Throws:
java.lang.Exception


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.