org.jacorb.orb.factory
Class PortRangeSocketFactory

java.lang.Object
  extended byorg.jacorb.orb.factory.PortRangeFactory
      extended byorg.jacorb.orb.factory.PortRangeSocketFactory
All Implemented Interfaces:
SocketFactory

public class PortRangeSocketFactory
extends PortRangeFactory
implements SocketFactory


Field Summary
static java.lang.String MAX_PROP
           
static java.lang.String MIN_PROP
           
 
Fields inherited from class org.jacorb.orb.factory.PortRangeFactory
portMax, portMin
 
Constructor Summary
PortRangeSocketFactory()
           
 
Method Summary
 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
 

Field Detail

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
Constructor Detail

PortRangeSocketFactory

public PortRangeSocketFactory()
Method Detail

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