org.mbari.siam.tests.utils.osdt
Class OSDTTestProtocol

java.lang.Object
  extended by org.mbari.siam.tests.utils.osdt.OSDTTestProtocol
All Implemented Interfaces:
TCPProtocol

public class OSDTTestProtocol
extends java.lang.Object
implements TCPProtocol


Field Summary
protected static org.apache.log4j.Logger _log4j
           
static java.lang.String COMMAND_CLIST
           
static java.lang.String COMMAND_DELIMITER
           
static java.lang.String COMMAND_HELP
           
static java.lang.String COMMAND_QUIT
           
static java.lang.String COMMAND_SETP
           
static java.lang.String COMMAND_SETV
           
static java.lang.String COMMAND_SHOW
           
 
Constructor Summary
OSDTTestProtocol()
           
OSDTTestProtocol(OSDTTestServer instance)
           
 
Method Summary
 java.lang.String disconnectString()
           
 java.lang.String help()
           
 java.lang.String processInput(java.lang.String inputLine)
           
 void setServerInstance(OSDTTestServer instance)
           
 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_SETV

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

COMMAND_SHOW

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

COMMAND_CLIST

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

COMMAND_HELP

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

COMMAND_QUIT

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

OSDTTestProtocol

public OSDTTestProtocol(OSDTTestServer instance)

OSDTTestProtocol

public OSDTTestProtocol()
Method Detail

setServerInstance

public void setServerInstance(OSDTTestServer instance)

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.