00001 #ifndef DSNOTIFYLOGADMIN_IDL
00002 #define DSNOTIFYLOGADMIN_IDL
00003
00004 #include <DsEventLogAdmin.idl>
00005 #include <CosNotifyChannelAdmin.idl>
00006 #include <CosNotifyFilter.idl>
00007 #include <CosNotification.idl>
00008
00019 #pragma prefix "omg.org"
00020
00021 module DsNotifyLogAdmin
00022 {
00027 interface NotifyLog : DsEventLogAdmin::EventLog,
00028 CosNotifyChannelAdmin::EventChannel
00029 {
00034 CosNotifyFilter::Filter get_filter();
00035
00040 void set_filter(in CosNotifyFilter::Filter filter);
00041 };
00042
00048 interface NotifyLogFactory : DsLogAdmin::LogMgr,
00049 CosNotifyChannelAdmin::ConsumerAdmin
00050 {
00070 NotifyLog create
00071 (
00072 in DsLogAdmin::LogFullActionType full_action,
00073 in unsigned long long max_size,
00074 in DsLogAdmin::CapacityAlarmThresholdList thresholds,
00075 in CosNotification::QoSProperties initial_qos,
00076 in CosNotification::AdminProperties initial_admin,
00077 out DsLogAdmin::LogId id
00078 )
00079 raises (DsLogAdmin::InvalidLogFullAction,
00080 DsLogAdmin::InvalidThreshold,
00081 CosNotification::UnsupportedQoS,
00082 CosNotification::UnsupportedAdmin);
00083
00104 NotifyLog create_with_id
00105 (
00106 in DsLogAdmin::LogId id,
00107 in DsLogAdmin::LogFullActionType full_action,
00108 in unsigned long long max_size,
00109 in DsLogAdmin::CapacityAlarmThresholdList thresholds,
00110 in CosNotification::QoSProperties initial_qos,
00111 in CosNotification::AdminProperties initial_admin
00112 )
00113 raises (DsLogAdmin::LogIdAlreadyExists,
00114 DsLogAdmin::InvalidLogFullAction,
00115 DsLogAdmin::InvalidThreshold,
00116 CosNotification::UnsupportedQoS,
00117 CosNotification::UnsupportedAdmin);
00118 };
00119 };
00120
00121 #endif