org.jacorb.orb.iiop

Class ClientIIOPConnection

public class ClientIIOPConnection extends IIOPConnection implements Configurable

Version: $Id: ClientIIOPConnection.java,v 1.32 2006/07/25 15:43:21 alphonse.bendt Exp $

Author: Nicolas Noffke Andre Spiegel

Field Summary
static intopenTransports
Constructor Summary
ClientIIOPConnection()
Method Summary
voidclose()
voidconfigure(Configuration configuration)
voidconnect(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.

Field Detail

openTransports

public static int openTransports

Constructor Detail

ClientIIOPConnection

public ClientIIOPConnection()

Method Detail

close

public void close()

configure

public void configure(Configuration configuration)

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.