org.jacorb.orb.giop

Class ReplyPlaceholder

Known Direct 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.19 2004/05/06 12:40:00 nicolas 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()
ReplyPlaceholder(ORB orb)
self-configuring c'tor

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()

Field Details

communicationException

protected boolean communicationException


in

protected MessageInputStream in


ready

protected boolean ready


remarshalException

protected boolean remarshalException


timeout

protected int timeout


timeoutException

protected boolean timeoutException

Constructor Details

ReplyPlaceholder

public ReplyPlaceholder()


ReplyPlaceholder

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

Method Details

cancel

public void cancel()


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.


replyReceived

public void replyReceived(MessageInputStream in)


retry

public void retry()