org.mbari.siam.utils
Class TCPServer
java.lang.Object
org.mbari.siam.utils.TCPServer
- Direct Known Subclasses:
- OSDTTestServer
public class TCPServer
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log4j
protected static org.apache.log4j.Logger _log4j
_tcpPort
protected int _tcpPort
_protocol
protected TCPProtocol _protocol
_socketTimeoutMillisec
protected int _socketTimeoutMillisec
_isConnected
protected boolean _isConnected
TCPServer
public TCPServer()
TCPServer
public TCPServer(int port,
TCPProtocol protocol)
TCPServer
public TCPServer(int port,
TCPProtocol protocol,
int timeoutMillisec)
isConnected
public boolean isConnected()
setTimeout
public void setTimeout(int timeout)
quit
public void quit()
listen
public void listen()
throws java.io.IOException
- Throws:
java.io.IOException
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.