ucar.unidata.util
Class SocketConnection
java.lang.Object
ucar.unidata.util.SocketConnection
- All Implemented Interfaces:
- Runnable
public class SocketConnection
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketConnection
public SocketConnection(Socket socket)
throws IOException
- Throws:
IOException
write
public void write(String message)
throws IOException
- Throws:
IOException
initConnection
public void initConnection()
run
public void run()
- Specified by:
run in interface Runnable
close
public void close()
connectionClosed
protected void connectionClosed()
logError
public void logError(String message)
logMessage
public void logMessage(String message)
handleMessage
public void handleMessage(String s)