summaryrefslogtreecommitdiff
path: root/DAnCE/tools/System_Health/Interceptors/SHS_Transport.h
blob: 0afe322defa51ad1247284ab84ed53d14eec9989 (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
/**
 * @file SHS_Transport.h
 * @author William R. Otte <wotte@dre.vanderbilt.edu>
 *
 * Abstraction for selecting the transport that SHS updates go over.
 */

#ifndef SHS_TRANSPORT_H
#define SHS_TRANSPORT_H

#include /**/ "ace/pre.h"

#include "dance/Deployment/Deployment_DeploymentPlanC.h"
#include "System_Health/SHS_DataModelC.h"

namespace DAnCE
{
  namespace SHS
  {
    class SHS_Transport
    {
    public:
      virtual ~SHS_Transport (void) {}

      virtual void configure (const Deployment::Properties &) = 0;

      virtual void push_event (const Status_Update &update) = 0;
    };
  }
}

#include /**/ "ace/post.h"

#endif