public final class ConfiguredSocketFactory extends java.lang.Object implements SocketFactory
| Constructor and Description |
|---|
ConfiguredSocketFactory(LoggerTeam logger,
ORBLoader loader,
java.lang.String prefix)
Constructs a new socket factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.ServerSocket |
createServerSocket(java.net.InetAddress host,
int port)
Creates a new socket listening to the specified host and port.
|
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
Creates a new socket to the specified host and port.
|
public ConfiguredSocketFactory(LoggerTeam logger,
ORBLoader loader,
java.lang.String prefix)
logger - the logger team to usedloader - the orb loader to be usedprefix - the property name prefix to use, e.g. "iiop"org.omg.CORBA.INITIALIZE - if problems occured during setuppublic java.net.ServerSocket createServerSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
SocketFactorycreateServerSocket in interface SocketFactoryhost - the local hostport - the local portServerSocket instance.java.io.IOException - if an I/O error occurs when creating the socket.SocketFactory.createServerSocket(InetAddress,int)public java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
SocketFactorycreateSocket in interface SocketFactoryhost - the remote hostport - the remote portSocket instance.java.io.IOException - if an I/O error occurs when creating the socket.SocketFactory.createSocket(InetAddress,int)