org.jacorb.orb.giop
Class ReplyPlaceholder

java.lang.Object
  extended byorg.jacorb.orb.giop.ReplyPlaceholder
Direct Known Subclasses:
LocateReplyReceiver, ReplyReceiver

public abstract class ReplyPlaceholder
extends java.lang.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.17 2004/02/12 11:08:44 gerald Exp $
Author:
Nicolas Noffke

Field Summary
protected  boolean communicationException
           
protected  MessageInputStream in
           
protected  boolean ready
           
protected  boolean remarshalException
           
protected  int timeout
           
protected  boolean timeoutException
           
 
Constructor Summary
ReplyPlaceholder()
           
 
Method Summary
 void cancel()
           
protected  MessageInputStream getInputStream()
          Non-public implementation of the blocking method that returns a reply when it becomes available.
 void replyReceived(MessageInputStream in)
           
 void retry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ready

protected boolean ready

communicationException

protected boolean communicationException

remarshalException

protected boolean remarshalException

timeoutException

protected boolean timeoutException

in

protected MessageInputStream in

timeout

protected int timeout
Constructor Detail

ReplyPlaceholder

public ReplyPlaceholder()
Method Detail

replyReceived

public void replyReceived(MessageInputStream in)

cancel

public void cancel()

retry

public void retry()

getInputStream

protected MessageInputStream getInputStream()
                                     throws RemarshalException
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.

Throws:
RemarshalException