ucar.unidata.util
Class SocketConnection

java.lang.Object
  extended by ucar.unidata.util.SocketConnection
All Implemented Interfaces:
Runnable

public class SocketConnection
extends Object
implements Runnable


Constructor Summary
SocketConnection(Socket socket)
           
 
Method Summary
 void close()
           
protected  void connectionClosed()
           
 void handleMessage(String s)
           
 void initConnection()
           
 void logError(String message)
           
 void logMessage(String message)
           
 void run()
           
 void write(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketConnection

public SocketConnection(Socket socket)
                 throws IOException
Throws:
IOException
Method Detail

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)