Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / Leader_Follower_Flushing_Strategy.h
blob438b48eefef723e2ee9b04cb015f301086fdcb3c
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Leader_Follower_Flushing_Strategy.h
7 * @author Carlos O'Ryan <coryan@uci.edu>
8 */
9 //=============================================================================
11 #ifndef TAO_LEADER_FOLLOWER_FLUSHING_STRATEGY_H
12 #define TAO_LEADER_FOLLOWER_FLUSHING_STRATEGY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Flushing_Strategy.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
24 /**
25 * @class TAO_Leader_Follower_Flushing_Strategy
27 * @brief Implement a flushing strategy that uses the Leader/Follower
28 * set.
30 class TAO_Leader_Follower_Flushing_Strategy
31 : public TAO_Flushing_Strategy
33 public:
34 virtual int schedule_output (TAO_Transport *transport);
35 virtual int cancel_output (TAO_Transport *transport);
36 virtual int flush_message (TAO_Transport *transport,
37 TAO_Queued_Message *msg,
38 ACE_Time_Value *max_wait_time);
39 virtual int flush_transport (TAO_Transport *transport, ACE_Time_Value *max_wait_time);
42 TAO_END_VERSIONED_NAMESPACE_DECL
44 #include /**/ "ace/post.h"
46 #endif /* TAO_LEADER_FOLLOWER_FLUSHING_STRATEGY_H */