org.jboss.jms.client.remoting
Class ClientSocketWrapper
java.lang.Object
org.jboss.remoting.transport.socket.SocketWrapper
org.jboss.jms.client.remoting.ClientSocketWrapper
- All Implemented Interfaces:
- org.jboss.remoting.transport.socket.OpenConnectionChecker
- Direct Known Subclasses:
- ServerSocketWrapper
public class ClientSocketWrapper
- extends org.jboss.remoting.transport.socket.SocketWrapper
- implements org.jboss.remoting.transport.socket.OpenConnectionChecker
- Author:
- Tom Elrod, Tim Fox
$Id: ClientSocketWrapper.java 2399 2007-02-23 01:21:29Z ovidiu.feodorov@jboss.com $
Field Summary |
protected static int |
CLOSING
|
Fields inherited from class org.jboss.remoting.transport.socket.SocketWrapper |
MARSHALLER, socket, TEMP_TIMEOUT, UNMARSHALLER |
Methods inherited from class org.jboss.remoting.transport.socket.SocketWrapper |
close, finalize, getSocket, getTimeout, isClosed, setTimeout |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLOSING
protected static final int CLOSING
- See Also:
- Constant Field Values
ClientSocketWrapper
public ClientSocketWrapper(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
ClientSocketWrapper
public ClientSocketWrapper(java.net.Socket socket,
java.util.Map metadata,
java.lang.Integer timeout)
throws java.lang.Exception
- Throws:
java.lang.Exception
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStream
in class org.jboss.remoting.transport.socket.SocketWrapper
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in class org.jboss.remoting.transport.socket.SocketWrapper
checkConnection
public void checkConnection()
throws java.io.IOException
- Specified by:
checkConnection
in class org.jboss.remoting.transport.socket.SocketWrapper
- Throws:
java.io.IOException
checkOpenConnection
public void checkOpenConnection()
throws java.io.IOException
- Specified by:
checkOpenConnection
in interface org.jboss.remoting.transport.socket.OpenConnectionChecker
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createStreams
protected void createStreams(java.net.Socket socket,
java.util.Map metadata)
throws java.io.IOException
- Throws:
java.io.IOException
createInputStream
protected java.io.DataInputStream createInputStream(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
createOutputStream
protected java.io.DataOutputStream createOutputStream(java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2006 JBoss Inc. All Rights Reserved.