diff options
author | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-08 21:35:07 +0000 |
---|---|---|
committer | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-08 21:35:07 +0000 |
commit | 5fa277740bbb8fd6d8feed65e40322fd5c8b3503 (patch) | |
tree | 31846111b8ae94a6e0a23ff6f6baf0303bffaaba /TAO/tao/Asynch_Reply_Dispatcher.h | |
parent | 1c48c4bad6b01d04f0b12b39dc8f983e45ee9781 (diff) | |
download | ATCD-5fa277740bbb8fd6d8feed65e40322fd5c8b3503.tar.gz |
ChangeLogTag: Thu Mar 8 15:32:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'TAO/tao/Asynch_Reply_Dispatcher.h')
-rw-r--r-- | TAO/tao/Asynch_Reply_Dispatcher.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tao/Asynch_Reply_Dispatcher.h b/TAO/tao/Asynch_Reply_Dispatcher.h index 1e26c905518..f40ab83d8b0 100644 --- a/TAO/tao/Asynch_Reply_Dispatcher.h +++ b/TAO/tao/Asynch_Reply_Dispatcher.h @@ -24,10 +24,11 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "tao/Reply_Dispatcher.h" +#include "tao/Asynch_Timeout_Handler.h" class TAO_Pluggable_Reply_Params; class TAO_ORB_Core ; -class TAO_Asynch_Timeout_Handler; + @@ -62,7 +63,8 @@ public: virtual void reply_timed_out (void); /// Install the timeout handler - virtual void timeout_handler (TAO_Asynch_Timeout_Handler *timeout_handler); + virtual long schedule_timer (CORBA::ULong request_id, + const ACE_Time_Value &max_wait_time); protected: /// The service context list. @@ -113,7 +115,8 @@ public: virtual void reply_timed_out (void); /// Install the timeout handler - virtual void timeout_handler (TAO_Asynch_Timeout_Handler *timeout_handler); + long schedule_timer (CORBA::ULong request_id, + const ACE_Time_Value &max_wait_time); private: /// Skeleton for the call back method in the Reply Handler. @@ -123,7 +126,7 @@ private: Messaging::ReplyHandler_var reply_handler_; /// Timeout Handler in case of AMI timeouts - TAO_Asynch_Timeout_Handler *timeout_handler_; + TAO_Asynch_Timeout_Handler timeout_handler_; }; #endif /* TAO_HAS_AMI_CALLBACK == 1 || TAO_HAS_AMI_POLLER == 1 */ |