diff options
Diffstat (limited to 'TAO/tao/Sync_Strategies.cpp')
-rw-r--r-- | TAO/tao/Sync_Strategies.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tao/Sync_Strategies.cpp b/TAO/tao/Sync_Strategies.cpp index c679fc3405c..d09bcd1a5a5 100644 --- a/TAO/tao/Sync_Strategies.cpp +++ b/TAO/tao/Sync_Strategies.cpp @@ -212,13 +212,7 @@ TAO_Eager_Buffering_Sync_Strategy::timer_check (TAO_Transport &transport, ACE_Time_Value timeout = this->time_conversion (buffering_constraint.timeout); - // Get our reactor. - ACE_Reactor *reactor = transport.orb_core ()->reactor (); - - long timer_id = reactor->schedule_timer (transport.event_handler (), - 0, - timeout, - timeout); + long timer_id = transport.register_for_timer_event (0, timeout, timeout); transport.buffering_timer_id (timer_id); transport.buffering_timeout_value (timeout); |