3 //=============================================================================
5 * @file Reactive_Flushing_Strategy.h
7 * @author Carlos O'Ryan <coryan@uci.edu>
9 //=============================================================================
11 #ifndef TAO_REACTIVE_FLUSHING_STRATEGY_H
12 #define TAO_REACTIVE_FLUSHING_STRATEGY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Flushing_Strategy.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 * @class TAO_Reactive_Flushing_Strategy
27 * @brief Implement a flushing strategy that uses the reactor.
29 class TAO_Reactive_Flushing_Strategy
: public TAO_Flushing_Strategy
32 virtual int schedule_output (TAO_Transport
*transport
);
33 virtual int cancel_output (TAO_Transport
*transport
);
34 virtual int flush_message (TAO_Transport
*transport
,
35 TAO_Queued_Message
*msg
,
36 ACE_Time_Value
*max_wait_time
);
37 virtual int flush_transport (TAO_Transport
*transport
38 , ACE_Time_Value
*max_wait_time
);
41 TAO_END_VERSIONED_NAMESPACE_DECL
43 #include /**/ "ace/post.h"
45 #endif /* TAO_REACTIVE_FLUSHING_STRATEGY_H */