|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.net.ConfiguredSocketFactory
A socket factory that creates pre-configured sockets.
Constructor Summary | |
ConfiguredSocketFactory(LoggerTeam logger,
ORBLoader loader,
java.lang.String prefix)
Constructs a new socket factory. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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 setupMethod Detail |
public java.net.ServerSocket createServerSocket(java.net.InetAddress host, int port) throws java.io.IOException
SocketFactory
createServerSocket
in interface SocketFactory
host
- the local hostport
- the local port
ServerSocket
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
SocketFactory
createSocket
in interface SocketFactory
host
- the remote hostport
- the remote port
Socket
instance.
java.io.IOException
- if an I/O error occurs when creating the socket.SocketFactory.createSocket(InetAddress,int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |