8#include <daq/dataflow/EvtSocket.h>
9#include <framework/pcore/EvtMessage.h>
10#include <framework/pcore/MsgHandler.h>
20int main(
int argc,
char** argv)
23 printf(
"Usage : hsendcommand cmd host port\n");
26 string cmd = string(argv[1]);
27 string host = string(argv[2]);
28 int port = atoi(argv[3]);
35 TText command(0, 0, cmd.c_str());
36 hdl.add(&command, cmd.c_str());
40 (msg->
header())->reserved[0] = 0;
41 (msg->
header())->reserved[1] = numobjs;
Class to manage streamed object.
EvtHeader * header()
Get pointer to EvtHeader.
A class to encode/decode an EvtMessage.
Abstract base class for different kinds of events.