1 #ifndef __JDB_JREPLYMESSAGE__
2 #define __JDB_JREPLYMESSAGE__
21 namespace JPP {
using namespace JDB; }
48 using namespace KM3NETDAQ;
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.
bool match(const JReplyMessage &message) const
Get match.
static const std::string TOKEN_DELIMETER
static const std::string RUN_CONTROL_CLIENT
static const JNET::JTag RC_REPLY
Auxiliary data structure for datalog strings.
friend std::istream & operator>>(std::istream &in, JReplyMessage &object)
Read message from input.
std::string toString() const
Convert tag to string.
JReplyMessage()
Default constructor.
Exception for parsing value.
Auxiliary data structure for reply message.
friend std::ostream & operator<<(std::ostream &out, const JReplyMessage &object)
Write message to output.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
JReplyMessage(const JDatalogString &datalog)
Copy constructor.