blob: 10f9477d1c88a5a8af4ea0dda6d5d38d48d0ed1f (
plain)
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file Fault_Detector_T.h
*
* @author Huang-Ming Huang <hh1@cse.wustl.edu>
*/
//=============================================================================
#ifndef FAULT_DETECTOR_T_H
#define FAULT_DETECTOR_T_H
#include "orbsvcs/FtRtEvent/EventChannel/Fault_Detector.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
template <class ACCEPTOR, class CONNECTOR, class DETECTION_HANDLER>
class Fault_Detector_T : public Fault_Detector
{
public:
Fault_Detector_T();
~Fault_Detector_T();
int connect(const FTRT::Location& addr);
protected:
ACCEPTOR acceptor_;
CONNECTOR connector_;
private:
virtual int init_acceptor();
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include "orbsvcs/FtRtEvent/EventChannel/Fault_Detector_T.cpp"
#endif
|