org.jacorb.orb.giop

Class ReplyPlaceholder

public abstract class ReplyPlaceholder extends Object

Connections deliver replies to instances of this class. The mechanism by which the ORB can retrieve the replies is implemented in subclasses.

Version: $Id: ReplyPlaceholder.java,v 1.23 2006/08/29 15:03:00 alphonse.bendt Exp $

Author: Nicolas Noffke

Field Summary
protected booleancommunicationException
protected MessageInputStreamin
protected Objectlock
protected booleanready
protected booleanremarshalException
protected inttimeout
protected booleantimeoutException
Constructor Summary
ReplyPlaceholder(ORB orb)
self-configuring c'tor
Method Summary
voidcancel()
protected MessageInputStreamgetInputStream(boolean hasTimeoutPolicy)
Non-public implementation of the blocking method that returns a reply when it becomes available.
voidreplyReceived(MessageInputStream in)
voidretry()

Field Detail

communicationException

protected boolean communicationException

in

protected MessageInputStream in

lock

protected final Object lock

ready

protected boolean ready

remarshalException

protected boolean remarshalException

timeout

protected final int timeout

timeoutException

protected boolean timeoutException

Constructor Detail

ReplyPlaceholder

public ReplyPlaceholder(ORB orb)
self-configuring c'tor

Method Detail

cancel

public void cancel()

getInputStream

protected MessageInputStream getInputStream(boolean hasTimeoutPolicy)
Non-public implementation of the blocking method that returns a reply when it becomes available. Subclasses should specify a different method, under a different name, that does any specific processing of the reply before returning it to the caller.

replyReceived

public void replyReceived(MessageInputStream in)

retry

public void retry()