00001 #if !defined(STOR_FUPROXY_H) 00002 #define STOR_FUPROXY_H 00003 00005 // Created by Markus Klute on 2007 Mar 22. 00006 // $Id: FUProxy.h,v 1.4 2007/06/28 20:37:41 hcheung Exp $ 00008 // send back discards to filter units 00009 // 00010 // following the example in EventFilter/ResourceBroker for BUProxy and SMProxy 00012 00013 #include "EventFilter/Utilities/interface/i2oEvfMsgs.h" 00014 #include "EventFilter/Utilities/interface/Exception.h" 00015 #include "xdaq/Application.h" 00016 00017 #include <string> 00018 00020 namespace stor 00021 { 00022 class FUProxy 00023 { 00024 public: 00025 FUProxy(xdaq::ApplicationDescriptor *, 00026 xdaq::ApplicationDescriptor *, 00027 xdaq::ApplicationContext *, 00028 toolbox::mem::Pool *); 00029 00030 virtual ~FUProxy(); 00031 00032 int sendDataDiscard(int); 00033 int sendDQMDiscard(int); 00034 00035 private: 00036 int sendDiscard(int, int) throw (evf::Exception); 00037 00038 xdaq::ApplicationDescriptor *smAppDesc_; 00039 xdaq::ApplicationDescriptor *fuAppDesc_; 00040 xdaq::ApplicationContext *smAppContext_; 00041 toolbox::mem::Pool *i2oPool_; 00042 00043 }; 00044 00045 } // namespace stor 00046 00047 #endif