org.jacorb.orb.giop
Class ReplyPlaceholder
java.lang.Object
org.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.23 2006/08/29 15:03:00 alphonse.bendt Exp $
- Author:
- Nicolas Noffke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lock
protected final java.lang.Object lock
ready
protected boolean ready
communicationException
protected boolean communicationException
remarshalException
protected boolean remarshalException
timeoutException
protected boolean timeoutException
in
protected MessageInputStream in
timeout
protected final int timeout
ReplyPlaceholder
public ReplyPlaceholder(ORB orb)
- self-configuring c'tor
replyReceived
public void replyReceived(MessageInputStream in)
cancel
public void cancel()
retry
public void retry()
getInputStream
protected MessageInputStream getInputStream(boolean hasTimeoutPolicy)
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