// ////////////////////////////////////////////////////// // HldRemotEvent // // Class for reading events from RPC buf. // ////////////////////////////////////////////////////// #ifndef HLDSTREAMEVT_H #define HLDSTREAMEVT_H #include "hldevt.h" #include "hldsubevt.h" #include "hldunpack.h" #include "TString.h" //class TGo4MbsEvent; //class TGo4MbsSource; class HldStreamEvt: public HldEvt { private: TString pcNode; //! server node name Double_t fMaxage; //! maxage parameter void* fHandle; //! handle for connection with HLD source Bool_t ffirstEvent; //! public: HldStreamEvt(const char* node, Double_t maxage = -1.); // init and open stream connection ~HldStreamEvt(); Bool_t open(const char* pcnode); // open connection to server node virtual Bool_t read(void); virtual Bool_t readSubEvt(size_t i); virtual Bool_t execute(void); virtual Bool_t swap(void); }; #endif /* !HLDSTREAMEVT_H */