org.jboss.remoting.transport.multiplex
Class VirtualSocketFactory
java.lang.Object
javax.net.SocketFactory
org.jboss.remoting.transport.multiplex.VirtualSocketFactory
- All Implemented Interfaces:
- java.io.Serializable
- public class VirtualSocketFactory
- extends javax.net.SocketFactory
- implements java.io.Serializable
Copyright (c) 2005
- Author:
- Ron Sigal
TODO: finish
TODO: write VirtualServerSocketFactory
- See Also:
- Serialized Form
Method Summary |
java.net.Socket |
createSocket()
|
java.net.Socket |
createSocket(java.net.InetAddress address,
int port)
|
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
|
java.net.Socket |
createSocket(java.lang.String host,
int port)
|
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort)
|
static javax.net.SocketFactory |
getDefault()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualSocketFactory
protected VirtualSocketFactory()
getDefault
public static javax.net.SocketFactory getDefault()
createSocket
public java.net.Socket createSocket()
createSocket
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
createSocket
public java.net.Socket createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
createSocket
public java.net.Socket createSocket(java.net.InetAddress address,
int port)
throws java.io.IOException
- Throws:
java.io.IOException
createSocket
public java.net.Socket createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.