anon.client
Class SocketHandler
java.lang.Object
java.util.Observable
anon.client.SocketHandler
public class SocketHandler
- extends java.util.Observable
- Author:
- Stefan Lieske
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_underlyingConnection
private IStreamConnection m_underlyingConnection
m_socketInputStream
private SocketHandler.SocketInputStreamImplementation m_socketInputStream
m_socketOutputStream
private SocketHandler.SocketOutputStreamImplementation m_socketOutputStream
m_internalSynchronization
private java.lang.Object m_internalSynchronization
SocketHandler
public SocketHandler(IStreamConnection a_baseConnection)
throws java.io.IOException
- Throws:
java.io.IOException
closeSocket
public void closeSocket()
getInputStream
public java.io.InputStream getInputStream()
getOutputStream
public java.io.OutputStream getOutputStream()
handleIOException
private void handleIOException(java.io.IOException a_exception)
handleEndOfInputStream
private void handleEndOfInputStream()
handleInputStreamClose
private void handleInputStreamClose()
handleOutputStreamClose
private void handleOutputStreamClose()