net.codescore.gserver
Class CSocket

java.lang.Object
  extended by net.codescore.gserver.CSocket

public class CSocket
extends Object


Field Summary
private  org.apache.commons.logging.Log log
           
private  Socket s
           
private  InputStream sis
           
private  OutputStream sos
           
 
Constructor Summary
CSocket(Socket clientSocket)
           
 
Method Summary
protected  void close()
           
private  InputStream getInStream()
           
 Message getMessage()
           
private  OutputStream getOutStream()
           
 void sendMessage(Message m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.apache.commons.logging.Log log

s

private Socket s

sis

private InputStream sis

sos

private OutputStream sos
Constructor Detail

CSocket

public CSocket(Socket clientSocket)
        throws IOException
Throws:
IOException
Method Detail

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.