Definition at line 21 of file HistoRelay.h.
◆ HistoRelay()
HistoRelay |
( |
std::string & |
filename, |
|
|
std::string & |
dest, |
|
|
int |
port |
|
) |
| |
Definition at line 15 of file HistoRelay.cc.
16{
17 m_dest = dest;
18 m_port = port;
21}
◆ ~HistoRelay()
Definition at line 23 of file HistoRelay.cc.
24{
25 delete m_sock;
26 delete m_memfile;
27}
◆ collect()
Definition at line 29 of file HistoRelay.cc.
30{
31
33
34 auto ret = m_sock->send(msg);
35
36 delete (msg);
37
38 if (ret < 0) {
39
40 delete m_sock;
41
42 printf("HistoRelay: socket seems dead -> reconnect\n");
44 }
45
46 return 0;
47}
Class to manage streamed object.
◆ m_dest
◆ m_filename
◆ m_memfile
◆ m_port
◆ m_sock
The documentation for this class was generated from the following files: