1#ifndef __JDB_JREPLYMESSAGE__
2#define __JDB_JREPLYMESSAGE__
21namespace JPP {
using namespace JDB; }
50 if (datalog.
source == RC_REPLY.toString()) {
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.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for datalog strings.
Auxiliary data structure for reply message.
JReplyMessage(const JDatalogString &datalog)
Copy constructor.
friend std::istream & operator>>(std::istream &in, JReplyMessage &object)
Read message from input.
JReplyMessage()
Default constructor.
bool match(const JReplyMessage &message) const
Get match.
friend std::ostream & operator<<(std::ostream &out, const JReplyMessage &object)
Write message to output.