summaryrefslogtreecommitdiff
path: root/orbsvcs/orbsvcs/DsNotifyLogAdmin.idl
blob: c1bc5787c575a093125f216b3a446518aeaca8ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// $Id$

// ============================================================================
//
// = FILENAME
//    DsNotifyLogAdmin.idl
//
// = DESCRIPTION
//    This module defines the NotifyLog and
//    NotifyLogFactory interfaces.
//
// = AUTHOR
//    David Hanvey (d.hanvey@qub.ac.uk)
//
// ============================================================================

#ifndef DS_NOTIFY_LOG_ADMIN_IDL
#define DS_NOTIFY_LOG_ADMIN_IDL

#include "DsEventLogAdmin.idl"
#include "CosNotifyChannelAdmin.idl"
#include "CosNotifyFilter.idl"
#include "CosNotification.idl"
#pragma prefix "omg.org"

module DsNotifyLogAdmin
{
  interface NotifyLog : DsEventLogAdmin::EventLog,
      CosNotifyChannelAdmin::EventChannel
  {
  CosNotifyFilter::Filter get_filter();
  void set_filter(in CosNotifyFilter::Filter filter);
  };

  interface NotifyLogFactory : DsLogAdmin::LogMgr,
      CosNotifyChannelAdmin::ConsumerAdmin
  {
  NotifyLog create (
    in DsLogAdmin::LogFullActionType  full_action,
    in unsigned long long     max_size,
    in DsLogAdmin::CapacityAlarmThresholdList thresholds,
    in CosNotification::QoSProperties initial_qos,
    in CosNotification::AdminProperties initial_admin,
    out DsLogAdmin::LogId id
  ) raises (DsLogAdmin::InvalidLogFullAction,
        DsLogAdmin::InvalidThreshold,
        CosNotification::UnsupportedQoS,
        CosNotification::UnsupportedAdmin);

  NotifyLog create_with_id (
    in DsLogAdmin::LogId id,
    in DsLogAdmin::LogFullActionType full_action,
    in unsigned long long max_size,
    in DsLogAdmin::CapacityAlarmThresholdList thresholds,
    in CosNotification::QoSProperties initial_qos,
    in CosNotification::AdminProperties initial_admin
  ) raises (DsLogAdmin::LogIdAlreadyExists,
        DsLogAdmin::InvalidLogFullAction,
        DsLogAdmin::InvalidThreshold,
        CosNotification::UnsupportedQoS,
        CosNotification::UnsupportedAdmin);
  };
  
};

#endif /* DS_NOTIFY_LOG_ADMIN_IDL */