org.jacorb.orb.factory
Class PortRangeSocketFactory
java.lang.Object
org.jacorb.orb.factory.PortRangeFactory
org.jacorb.orb.factory.PortRangeSocketFactory
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable, SocketFactory
- public class PortRangeSocketFactory
- extends PortRangeFactory
- implements SocketFactory
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
java.net.Socket |
createSocket(java.lang.String host,
int port)
|
boolean |
isSSL(java.net.Socket socket)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_PROP
public static final java.lang.String MIN_PROP
- See Also:
- Constant Field Values
MAX_PROP
public static final java.lang.String MAX_PROP
- See Also:
- Constant Field Values
PortRangeSocketFactory
public PortRangeSocketFactory()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
createSocket
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
- Specified by:
createSocket
in interface SocketFactory
- Throws:
java.io.IOException
java.net.UnknownHostException
isSSL
public boolean isSSL(java.net.Socket socket)
- Specified by:
isSSL
in interface SocketFactory