public class SocketConnection
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
SocketConnection(java.net.Socket socket) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
connectionClosed() |
void |
handleMessage(java.lang.String s) |
void |
initConnection() |
void |
logError(java.lang.String message) |
void |
logMessage(java.lang.String message) |
void |
run() |
void |
write(java.lang.String message) |
public SocketConnection(java.net.Socket socket) throws java.io.IOException
java.io.IOException
public void write(java.lang.String message) throws java.io.IOException
java.io.IOException
public void initConnection()
public void run()
run
in interface java.lang.Runnable
public void close()
protected void connectionClosed()
public void logError(java.lang.String message)
public void logMessage(java.lang.String message)
public void handleMessage(java.lang.String s)