3 #ifndef Gw_WatcherProducer
4 #define Gw_WatcherProducer
7 #ifndef ADF_NarvalInterface
42 fMachine(
"localhost"),
69 Bool_t
SetConnection(
const Char_t *machine =
"localhost", UInt_t port = 9090);
It defines the interface needed to be a narval actor (producer).
void SetTimeout(Long_t timeout=10)
change timeout to try and get data from the socket
static void process_config(const Char_t *, UInt_t *)
Have to be overwritten and called in your implementation.
virtual void process_reset(UInt_t *)
TODO.
To get a buffer from a server.
static void process_config(const Char_t *path, UInt_t *error_code)
virtual void process_initialise(UInt_t *)
TODO reads from a file the data to open the socket.
Bool_t OpenSocket()
true if a valid connection
header file for NarvalInterface.cpp
virtual UInt_t ProcessBlock(ADF::FrameBlock &)
load the next block
Bool_t SetConnection(const Char_t *machine="localhost", UInt_t port=9090)
change the place where are picked data
virtual ~WatcherProducer()