org.jacorb.orb.iiop
Class ClientIIOPConnection
java.lang.Object
org.omg.CORBA.LocalObject
org.omg.ETF._ConnectionLocalBase
org.jacorb.orb.etf.ConnectionBase
org.jacorb.orb.etf.StreamConnectionBase
org.jacorb.orb.iiop.IIOPConnection
org.jacorb.orb.iiop.ClientIIOPConnection
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable, Connection, ConnectionOperations, IDLEntity, LocalInterface, Object, java.io.Serializable
- public class ClientIIOPConnection
- extends IIOPConnection
- implements org.apache.avalon.framework.configuration.Configurable
ClientIIOPConnection.java
Created: Sun Aug 12 20:56:32 2002
- Version:
- $Id: ClientIIOPConnection.java,v 1.19 2006/03/18 17:13:14 andre.spiegel Exp $
- Author:
- Nicolas Noffke / Andre Spiegel
- See Also:
- Serialized Form
Method Summary |
void |
close()
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
void |
connect(Profile server_profile,
long time_out)
Attempts to establish a 1-to-1 connection with a server using the
Listener endpoint from the given Profile description. |
Methods inherited from class org.omg.CORBA.LocalObject |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
openTransports
public static int openTransports
ClientIIOPConnection
public ClientIIOPConnection()
ClientIIOPConnection
public ClientIIOPConnection(ClientIIOPConnection other)
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Overrides:
configure
in class ConnectionBase
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
connect
public void connect(Profile server_profile,
long time_out)
- Attempts to establish a 1-to-1 connection with a server using the
Listener endpoint from the given Profile description. It shall
throw a COMM_FAILURE exception if it fails (e.g. if the endpoint
is unreachable) or a TIMEOUT exception if the given time_out period
has expired before a connection is established. If the connection
is successfully established it shall store the used Profile data.
- Specified by:
connect
in interface ConnectionOperations
close
public void close()
- Specified by:
close
in interface ConnectionOperations