/usr/include/tao/Block_Flushing_Strategy.h is in libtao-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | // -*- C++ -*-
//=============================================================================
/**
* @file Block_Flushing_Strategy.h
*
* $Id: Block_Flushing_Strategy.h 85817 2009-06-26 20:44:58Z mitza $
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
//=============================================================================
#ifndef TAO_BLOCK_FLUSHING_STRATEGY_H
#define TAO_BLOCK_FLUSHING_STRATEGY_H
#include /**/ "ace/pre.h"
#include "tao/Flushing_Strategy.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
namespace Transport
{
class Drain_Constraints;
}
}
/**
* @class TAO_Block_Flushing_Strategy
*
* @brief Implement a flushing strategy that blocks on write to flush
*/
class TAO_Block_Flushing_Strategy : public TAO_Flushing_Strategy
{
public:
virtual int schedule_output (TAO_Transport *transport);
virtual int cancel_output (TAO_Transport *transport);
virtual int flush_message (TAO_Transport *transport,
TAO_Queued_Message *msg,
ACE_Time_Value *max_wait_time);
virtual int flush_transport (TAO_Transport *transport
, ACE_Time_Value *max_wait_time);
private:
int call_handle_output (TAO_Transport *transport,
const TAO::Transport::Drain_Constraints &dc);
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_BLOCK_FLUSHING_STRATEGY_H */
|