#include <Asynch_Reply_Dispatcher_Base.h>
Inheritance diagram for TAO_Asynch_Reply_Dispatcher_Base:
Public Methods | |
TAO_Asynch_Reply_Dispatcher_Base (TAO_ORB_Core *orb_core) | |
Default constructor. More... | |
virtual | ~TAO_Asynch_Reply_Dispatcher_Base (void) |
Destructor. More... | |
void | transport (TAO_Transport *t) |
Sets the transport for this invocation. More... | |
virtual int | dispatch_reply (TAO_Pluggable_Reply_Params ¶ms) |
Dispatch the reply. More... | |
virtual void | connection_closed (void) |
The used for the pending reply has been closed. More... | |
virtual void | reply_timed_out (void) |
Inform that the reply timed out. More... | |
virtual long | schedule_timer (CORBA::ULong request_id, const ACE_Time_Value &max_wait_time) |
Install the timeout handler. More... | |
Protected Attributes | |
IOP::ServiceContextList | reply_service_info_ |
Note, that this is not a reference as in the synchronous case. More... | |
char | buf_ [ACE_CDR::DEFAULT_BUFSIZE] |
The buffer that is used to initialise the data block. More... | |
ACE_Data_Block | db_ |
datablock that is created on the stack to initialise the CDR stream underneath. More... | |
TAO_InputCDR | reply_cdr_ |
CDR stream which has the reply information that needs to be demarshalled by the stubs. More... | |
TAO_Transport * | transport_ |
This invocation is using this transport, may change... More... |
|
Default constructor.
|
|
Destructor.
|
|
The used for the pending reply has been closed. No reply is expected. @ TODO: If the connection was closed due to a CloseConnection message then we could re-issue the request instead of raising the exception, it would a matter of simply adding a boolean argument to this function. Reimplemented from TAO_Reply_Dispatcher. |
|
Dispatch the reply. Return 1 on sucess, -1 on error. @ TODO Pluggable Messaging: this method has too many arguments, the "Right Thing"[tm] is for the Transport Object to create a "ClientReply" that encapsulates all we need to process a reply. Naturally it is possible that different messaging protocols implement different variants of such ClientReply class. Reimplemented from TAO_Reply_Dispatcher. |
|
Inform that the reply timed out.
|
|
Install the timeout handler.
|
|
Sets the transport for this invocation.
|
|
The buffer that is used to initialise the data block.
|
|
datablock that is created on the stack to initialise the CDR stream underneath.
|
|
CDR stream which has the reply information that needs to be demarshalled by the stubs.
|
|
Note, that this is not a reference as in the synchronous case. We own the reply_service_info because our TAO_Asynch_Invocation or TAO_DII_Deferred_Invocation will go out of scope before we are done. |
|
This invocation is using this transport, may change...
|