/usr/include/tao/Transport_Timer.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 58 59 60 61 | // -*- C++ -*-
//=============================================================================
/**
* @file Transport_Timer.h
*
* $Id: Transport_Timer.h 74014 2006-08-14 13:52:22Z johnnyw $
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
//=============================================================================
#ifndef TAO_TRANSPORT_TIMER_H
#define TAO_TRANSPORT_TIMER_H
#include /**/ "ace/pre.h"
#include "ace/Event_Handler.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include /**/ "tao/TAO_Export.h"
#include /**/ "tao/Versioned_Namespace.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_Transport;
/**
* @class TAO_Transport_Timer
*
* @brief Allows TAO_Transport instances to receive timeout
* notifications from the Reactor. In other words, implements
* the Adapter Role, of the Adapter Pattern, where the Adaptee
* is a TAO_Transport and the client is the Reactor.
*
*/
class TAO_Transport_Timer : public ACE_Event_Handler
{
public:
/// Constructor
/**
* @param transport The adaptee
*/
TAO_Transport_Timer (TAO_Transport *transport);
/// Receive timeout events from the Reactor and forward them to the
/// TAO_Transport
virtual int handle_timeout (const ACE_Time_Value ¤t_time,
const void *act);
private:
/// The Adaptee
TAO_Transport *transport_;
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_TRANSPORT_TIMER_H */
|