Auxiliary data structure for reply message.  
 More...
#include <JReplyMessage.hh>
Auxiliary data structure for reply message. 
Definition at line 31 of file JReplyMessage.hh.
 
  
  
      
        
          | JDB::JReplyMessage::JReplyMessage  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
Copy constructor. 
- Parameters
 - 
  
  
 
Definition at line 44 of file JReplyMessage.hh.
   48       using namespace KM3NETDAQ;
 
   54         istringstream 
is(datalog.
data);
 
   64           THROW(JParseError, 
"Invalid string " << datalog.
source << 
" " << datalog.
data);
 
   69         THROW(JParseError, 
"Invalid source " << datalog.
source);
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
static const std::string TOKEN_DELIMETER
 
static const std::string RUN_CONTROL_CLIENT
 
static const JNET::JTag RC_REPLY
 
std::string toString() const 
Convert tag to string. 
 
 
 
 
  
  
      
        
          | bool JDB::JReplyMessage::match  | 
          ( | 
          const JReplyMessage &  | 
          message | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get match. 
- Parameters
 - 
  
  
 
- Returns
 - true if message matches; else false 
 
Definition at line 80 of file JReplyMessage.hh.
   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; }
 
 
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JReplyMessage &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read message from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | message  | 
  
   
- Returns
 - input stream 
 
Definition at line 98 of file JReplyMessage.hh.
  100       return in >> 
object.key
 
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
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JReplyMessage &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write message to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | message  | 
  
   
- Returns
 - output stream 
 
Definition at line 115 of file JReplyMessage.hh.
  117       return out << 
object.key
 
 
 
 
The documentation for this struct was generated from the following file: