net.codescore.gserver
Class CSocket
java.lang.Object
net.codescore.gserver.CSocket
public class CSocket
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private org.apache.commons.logging.Log log
s
private Socket s
sis
private InputStream sis
sos
private OutputStream sos
CSocket
public CSocket(Socket clientSocket)
throws IOException
- Throws:
IOException
getInStream
private InputStream getInStream()
getOutStream
private OutputStream getOutStream()
close
protected void close()
throws IOException
- Throws:
IOException
getMessage
public Message getMessage()
throws IOException
- Throws:
IOException
sendMessage
public void sendMessage(Message m)
throws IOException
- Throws:
IOException
Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.