sample/filter/c1i.hpp
#if !defined( _SAMPLE__FILTER__C1I_HPP_ )
#define _SAMPLE__FILTER__C1I_HPP_
#include <ace/Date_Time.h>
#include <so_4/rt/h/rt.hpp>
class c1i_t :
public so_4::rt::agent_t
{
typedef so_4::rt::agent_t base_type_t;
public :
c1i_t();
virtual ~c1i_t();
virtual const char *
so_query_type() const;
virtual void
so_on_subscription() = 0;
static const std::string &
agent_name();
static const std::string &
agent_type();
struct msg_request
{
ACE_Date_Time m_client_request_timestamp;
};
struct msg_reply
{
ACE_Date_Time m_client_request_timestamp;
ACE_Date_Time m_server_request_timestamp;
ACE_Date_Time m_server_reply_timestamp;
};
};
#endif