Analysis Software
Documentation for sPHENIX simulation software
|
#include <rcdaq/blob/master/MQTTConnection.h>
Public Member Functions | |
MQTTConnection (const std::string hostname, const std::string topic, const int port=1883) | |
virtual | ~MQTTConnection () |
virtual int | Status () const |
virtual std::string | GetHostName () const |
virtual int | GetPort () const |
virtual int | send (const std::string message) |
Protected Member Functions | |
int | OpenConnection () |
int | CloseConnection () |
Protected Attributes | |
std::string | _hostname |
std::string | _topic |
int | _status |
int | _port |
struct mosquitto * | mosq |
Definition at line 8 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 8 of file MQTTConnection.h
MQTTConnection::MQTTConnection | ( | const std::string | hostname, |
const std::string | topic, | ||
const int | port = 1883 |
||
) |
Definition at line 10 of file MQTTConnection.cc.
View newest version in sPHENIX GitHub at line 10 of file MQTTConnection.cc
|
virtual |
Definition at line 54 of file MQTTConnection.cc.
View newest version in sPHENIX GitHub at line 54 of file MQTTConnection.cc
|
protected |
Definition at line 78 of file MQTTConnection.cc.
View newest version in sPHENIX GitHub at line 78 of file MQTTConnection.cc
|
inlinevirtual |
Definition at line 16 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 16 of file MQTTConnection.h
References _hostname.
|
inlinevirtual |
Definition at line 17 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 17 of file MQTTConnection.h
References _port.
|
protected |
Definition at line 62 of file MQTTConnection.cc.
View newest version in sPHENIX GitHub at line 62 of file MQTTConnection.cc
|
virtual |
Definition at line 35 of file MQTTConnection.cc.
View newest version in sPHENIX GitHub at line 35 of file MQTTConnection.cc
References physmon_simulation::s.
|
inlinevirtual |
Definition at line 15 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 15 of file MQTTConnection.h
References _status.
|
protected |
Definition at line 26 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 26 of file MQTTConnection.h
Referenced by GetHostName().
|
protected |
Definition at line 29 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 29 of file MQTTConnection.h
Referenced by GetPort().
|
protected |
Definition at line 28 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 28 of file MQTTConnection.h
Referenced by Status().
|
protected |
Definition at line 27 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 27 of file MQTTConnection.h
|
protected |
Definition at line 31 of file MQTTConnection.h.
View newest version in sPHENIX GitHub at line 31 of file MQTTConnection.h