1 #ifndef __JDB_JREPLYMESSAGE__
2 #define __JDB_JREPLYMESSAGE__
21 namespace JPP {
using namespace JDB; }
54 istringstream is(datalog.
data);
83 if (!message.
ip .empty() && message.
ip !=
ip) {
return false; }
84 if (!message.
event .empty() && message.
event !=
event) {
return false; }
85 if (!message.
state .empty() && message.
state !=
state) {
return false; }
100 return in >>
object.key
117 return out <<
object.key
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception for parsing value.
Auxiliary class to specify white space character(s) in currect locale.
std::string toString() const
Convert tag to string.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
static const JNET::JTag RC_REPLY
static const std::string RUN_CONTROL_CLIENT
static const std::string TOKEN_DELIMETER
Auxiliary data structure for datalog strings.
Auxiliary data structure for reply message.
JReplyMessage(const JDatalogString &datalog)
Copy constructor.
JReplyMessage()
Default constructor.
bool match(const JReplyMessage &message) const
Get match.
friend std::istream & operator>>(std::istream &in, JReplyMessage &object)
Read message from input.
friend std::ostream & operator<<(std::ostream &out, const JReplyMessage &object)
Write message to output.