org.apache.yoko.orb.OCI.IIOP
Interface ConnectionHelper

All Known Implementing Classes:
DefaultConnectionHelper

public interface ConnectionHelper

Information on an IIOP OCI Acceptor object.

See Also:
Acceptor, AcceptorInfo

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)
           
 

Method Detail

init

void init(ORB orb,
          String parms)

createSocket

Socket createSocket(IOR ior,
                    Policy[] policies,
                    InetAddress address,
                    int port)
                    throws IOException,
                           ConnectException
Throws:
IOException
ConnectException

createSelfConnection

Socket createSelfConnection(InetAddress address,
                            int port)
                            throws IOException,
                                   ConnectException
Throws:
IOException
ConnectException

createServerSocket

ServerSocket createServerSocket(int port,
                                int backlog)
                                throws IOException,
                                       ConnectException
Throws:
IOException
ConnectException

createServerSocket

ServerSocket createServerSocket(int port,
                                int backlog,
                                InetAddress address)
                                throws IOException,
                                       ConnectException
Throws:
IOException
ConnectException


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