org.apache.yoko.orb.OCI.IIOP
Class DefaultConnectionHelper

java.lang.Object
  extended by org.apache.yoko.orb.OCI.IIOP.DefaultConnectionHelper
All Implemented Interfaces:
ConnectionHelper

public class DefaultConnectionHelper
extends Object
implements ConnectionHelper


Constructor Summary
DefaultConnectionHelper()
           
 
Method Summary
 Socket createSelfConnection(InetAddress address, int port)
           
 ServerSocket createServerSocket(int port, int backlog)
           
 ServerSocket createServerSocket(int port, int backlog, InetAddress address)
           
 Socket createSocket(IOR ior, Policy[] policies, InetAddress address, int port)
           
 void init(ORB orb, String parms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConnectionHelper

public DefaultConnectionHelper()
Method Detail

init

public void init(ORB orb,
                 String parms)
Specified by:
init in interface ConnectionHelper

createSocket

public Socket createSocket(IOR ior,
                           Policy[] policies,
                           InetAddress address,
                           int port)
                    throws IOException,
                           ConnectException
Specified by:
createSocket in interface ConnectionHelper
Throws:
IOException
ConnectException

createSelfConnection

public Socket createSelfConnection(InetAddress address,
                                   int port)
                            throws IOException,
                                   ConnectException
Specified by:
createSelfConnection in interface ConnectionHelper
Throws:
IOException
ConnectException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog)
                                throws IOException,
                                       ConnectException
Specified by:
createServerSocket in interface ConnectionHelper
Throws:
IOException
ConnectException

createServerSocket

public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       InetAddress address)
                                throws IOException,
                                       ConnectException
Specified by:
createServerSocket in interface ConnectionHelper
Throws:
IOException
ConnectException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.