org.jacorb.orb.giop

Class ClientGIOPConnection

public class ClientGIOPConnection extends GIOPConnection implements Configurable

Version: $Id: ClientGIOPConnection.java,v 1.17 2006/06/28 12:41:43 alphonse.bendt Exp $

Author: Nicolas Noffke

Constructor Summary
ClientGIOPConnection(Profile profile, Connection transport, RequestListener request_listener, ReplyListener reply_listener, StatisticsProvider statistics_provider)
Method Summary
voidcloseAllowReopen()
Closes the underlying transport, but keeps this ClientGIOPConnection alive.
voidconfigure(Configuration configuration)
protected voidreadTimedOut()
Client-side implementation what to do when a read on the underlying transport times out.
protected voidstreamClosed()
Client-side implementation what to do when the underlying transport is closed during a read operation.
StringtoString()

Constructor Detail

ClientGIOPConnection

public ClientGIOPConnection(Profile profile, Connection transport, RequestListener request_listener, ReplyListener reply_listener, StatisticsProvider statistics_provider)

Method Detail

closeAllowReopen

public void closeAllowReopen()
Closes the underlying transport, but keeps this ClientGIOPConnection alive. If, subsequently, another request is sent to this connection, it will try to reopen the transport.

configure

public void configure(Configuration configuration)

readTimedOut

protected void readTimedOut()
Client-side implementation what to do when a read on the underlying transport times out. If we have no pending messages for which we haven't received a reply yet, or if the property jacorb.connection.client.timeout_ignores_pending_messages is on, then we close the transport, but allow it to be reopened later. If we have pending message and are not allowed to ignore that, do nothing.

streamClosed

protected void streamClosed()
Client-side implementation what to do when the underlying transport is closed during a read operation. We mark the transport as closed and allow it to be reopened later, when the client retries.

toString

public String toString()