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

java.lang.Object
  extended by org.mbari.siam.utils.TCPClient
      extended by org.mbari.siam.tests.utils.osdt.OSDTTestClient

public class OSDTTestClient
extends TCPClient


Field Summary
protected static org.apache.log4j.Logger _log4j
           
 
Fields inherited from class org.mbari.siam.utils.TCPClient
_fromServer, _isConnected, _protocol, _serverHost, _socket, _tcpPort, _toServer
 
Constructor Summary
OSDTTestClient()
           
OSDTTestClient(java.lang.String host, int port, TCPProtocol protocol)
           
 
Method Summary
 void configure(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
 void printHelp()
           
 java.lang.String sendCommand(java.lang.String command)
           
 void sendCommands()
           
 
Methods inherited from class org.mbari.siam.utils.TCPClient
connect, disconnect, isConnected, writeRead
 
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
Constructor Detail

OSDTTestClient

public OSDTTestClient()

OSDTTestClient

public OSDTTestClient(java.lang.String host,
                      int port,
                      TCPProtocol protocol)
Method Detail

sendCommands

public void sendCommands()
                  throws java.lang.Exception
Throws:
java.lang.Exception

sendCommand

public java.lang.String sendCommand(java.lang.String command)
                             throws java.lang.Exception
Throws:
java.lang.Exception

printHelp

public void printHelp()

configure

public void configure(java.lang.String[] args)
               throws java.lang.Exception
Overrides:
configure in class TCPClient
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)


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.