Home » geronimo-2.2-source-release » org.apache.geronimo.yoko » [javadoc | source]
org.apache.geronimo.yoko
public class: SocketFactory [javadoc | source]
java.lang.Object
   org.apache.geronimo.yoko.SocketFactory

All Implemented Interfaces:
    org.apache.yoko.orb.OCI.IIOP.ConnectionHelper

Socket factory instance used to interface openejb2 with the Yoko ORB. Also enables the ORB for SSL-type connections.
Field Summary
 int supports     
 int requires     
Constructor:
 public SocketFactory() 
Method from org.apache.geronimo.yoko.SocketFactory Summary:
createSelfConnection,   createServerSocket,   createServerSocket,   createSocket,   init
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.yoko.SocketFactory Detail:
 public Socket createSelfConnection(InetAddress address,
    int port) throws IOException 
    Create a loopback connection to the hosting ORB.
 public ServerSocket createServerSocket(int port,
    int backlog) throws IOException 
    Create a server socket listening on the given port.
 public ServerSocket createServerSocket(int port,
    int backlog,
    InetAddress address) throws IOException 
    Create a server socket for this connection.
 public Socket createSocket(IOR ior,
    Policy[] policies,
    InetAddress address,
    int port) throws IOException 
    Create a client socket of the appropriate type using the provided IOR and Policy information.
 public  void init(ORB orb,
    String configName) 
    Initialize the socket factory instance.