#include <Asynch_Reply_Dispatcher.h>
Inheritance diagram for TAO_Asynch_Reply_Dispatcher:
Public Methods | |
TAO_Asynch_Reply_Dispatcher (const TAO_Reply_Handler_Skeleton &reply_handler_skel, Messaging::ReplyHandler_ptr reply_handler_ptr, TAO_ORB_Core *orb_core) | |
Constructor. More... | |
virtual | ~TAO_Asynch_Reply_Dispatcher (void) |
Destructor. More... | |
virtual int | dispatch_reply (TAO_Pluggable_Reply_Params ¶ms) |
virtual void | connection_closed (void) |
virtual void | reply_timed_out (void) |
Inform that the reply timed out. More... | |
long | schedule_timer (CORBA::ULong request_id, const ACE_Time_Value &max_wait_time) |
Install the timeout handler. More... | |
Private Attributes | |
const TAO_Reply_Handler_Skeleton | reply_handler_skel_ |
Skeleton for the call back method in the Reply Handler. More... | |
Messaging::ReplyHandler_var | reply_handler_ |
Reply Handler passed in the Asynchronous Invocation. More... | |
TAO_Asynch_Timeout_Handler | timeout_handler_ |
Timeout Handler in case of AMI timeouts. More... |
|
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_Asynch_Reply_Dispatcher_Base. |
|
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_Asynch_Reply_Dispatcher_Base. |
|
Inform that the reply timed out.
Reimplemented from TAO_Asynch_Reply_Dispatcher_Base. |
|
Install the timeout handler.
Reimplemented from TAO_Asynch_Reply_Dispatcher_Base. |
|
Reply Handler passed in the Asynchronous Invocation.
|
|
Skeleton for the call back method in the Reply Handler.
|
|
Timeout Handler in case of AMI timeouts.
|