hlit-mon
0.5.2
Main Page
Related Pages
Modules
Classes
Files
File List
All
Classes
Functions
Groups
Pages
Subscriber.h
1
7
9
#ifndef Subscriber_cpp
10
#define Subscriber_cpp
11
12
#include <czmq.h>
13
#include <string>
14
15
using namespace
std;
16
23
class
Subscriber
{
24
public
:
29
Subscriber
(
char
* addr_sub);
30
34
Subscriber
();
35
virtual
~
Subscriber
();
36
41
pair<string, string> Get_Cluster_Json();
42
46
void
Recv_Message();
47
51
void
Connect();
52
58
void
Set_Addr(
char
* addr);
59
60
private
:
64
char
* addr_sub;
65
69
zsock_t* sub;
70
74
string
cluster;
75
79
string
json;
80
};
81
82
#endif
83
84
///@}
Subscriber
This class receives data from the broker.
Definition:
Subscriber.h:23
registrar
Subscriber.h
Generated by
1.8.5