00001 #ifndef _TMCBD_MONITOR_COLLECTOR_ 00002 #define _TMCBD_MONITOR_COLLECTOR_ 00003 00004 #include <acscommon.idl> 00005 #include <acscomponent.idl> 00006 #include <TMCDBCOMMON_IDL.idl> 00007 00008 #include "MonitorCollectorErr.idl" 00009 00010 #pragma prefix "alma" 00011 00012 00013 module TMCDB 00014 { 00015 00016 struct propertySerailNumber 00017 { 00018 string propertyName; 00019 serialNumberTypeSeq serialNumbers; 00020 }; 00021 00022 typedef sequence<propertySerailNumber> propertySerialNumberSeq; 00023 00024 00025 interface MonitorCollector : ACS::ACSComponent 00026 { 00028 void registerMonitoredDevice(in string componentName, in serialNumberType serialNumber) 00029 raises (MonitorCollectorErr::DeviceAlreadyRegistredEx, MonitorCollectorErr::RegisteringDeviceProblemEx); 00030 00031 void registerMonitoredDeviceWithMultipleSerial(in string componentName, in propertySerialNumberSeq serialNumbers) 00032 raises (MonitorCollectorErr::DeviceAlreadyRegistredEx, MonitorCollectorErr::RegisteringDeviceProblemEx); 00033 00034 void deregisterMonitoredDevice(in string componentName) 00035 raises(MonitorCollectorErr::DeviceNotRegistredEx); 00036 00037 void startMonitoring(in string componentName) raises(MonitorCollectorErr::StartMonitoringProblemEx); 00038 00039 void stopMonitoring(in string componentName) raises (MonitorCollectorErr::StopMonitoringProblemEx); 00040 00042 MonitorDataBlocks getMonitorData(); 00043 00044 void set_archiving_interval(in string componentName, in string propertyName, in ACS::TimeInterval time); 00045 00046 void suppress_archiving(in string componentName, in string propertyName); 00047 00048 void enable_archiving(in string componentName, in string propertyName); 00049 };//interface MonitorCollector 00050 00051 00052 };//module TMCDB 00053 00054 #endif