| /** |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| |
| /** |
| * @version $Rev: 491396 $ $Date: 2006-12-30 22:06:13 -0800 (Sat, 30 Dec 2006) $ |
| */ |
| |
| package org.apache.yoko.orb.OCI.IIOP; |
| |
| import java.io.IOException; |
| import java.net.ConnectException; |
| import java.net.InetAddress; |
| import java.net.Socket; |
| import java.net.ServerSocket; |
| |
| import org.omg.CORBA.ORB; |
| import org.omg.CORBA.Policy; |
| import org.omg.IOP.IOR; |
| |
| // |
| // IDL:orb.yoko.apache.org/OCI/IIOP/AcceptorInfo:1.0 |
| // |
| /** |
| * |
| * Information on an IIOP OCI Acceptor object. |
| * |
| * @see Acceptor |
| * @see AcceptorInfo |
| * |
| **/ |
| |
| public interface ExtendedConnectionHelper |
| { |
| public void init(ORB orb, String parms); |
| |
| public Socket createSocket(IOR ior, Policy[] policies, InetAddress address, int port) throws IOException, ConnectException; |
| |
| public Socket createSelfConnection(InetAddress address, int port) throws IOException, ConnectException; |
| |
| public ServerSocket createServerSocket(int port, int backlog, String[] params) throws IOException, ConnectException; |
| |
| public ServerSocket createServerSocket(int port, int backlog, InetAddress address, String[] params) throws IOException, ConnectException; |
| |
| } |
| |