summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/MonitorControl/NotificationServiceMC.idl
blob: 29946156a6ad8dc89e3ecbc3633bd037fda12cb9 (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
/**
 * @file NotificationServiceMC.idl
 *
 * @brief Define the Monitor/Control interface
 *
 * @author Chad Elliott <elliott_c@ociweb.com>
 */

#ifndef NOTIFICATIONSERVICEMC_IDL
#define NOTIFICATIONSERVICEMC_IDL

#include "tao/Monitor/Monitor_include.pidl"

#pragma prefix "sandia.gov"

module CosNotification
{
  interface NotificationServiceMonitorControl
  {
    exception InvalidName {
      Monitor::NameList names;
    };

    Monitor::NameList get_statistic_names ();

    Monitor::Data get_statistic (in string name)
      raises (InvalidName);

    Monitor::DataList get_statistics (in Monitor::NameList names)
      raises (InvalidName);

    Monitor::DataList get_and_clear_statistics (in Monitor::NameList names)
      raises (InvalidName);

    void clear_statistics (in Monitor::NameList names)
      raises (InvalidName);

    // Control commands begin here
    void shutdown_event_channel (in string name)
      raises (InvalidName);

    void remove_consumer (in string name)
      raises (InvalidName);

    void remove_supplier (in string name)
      raises (InvalidName);

    void remove_consumeradmin (in string name)
      raises (InvalidName);

    void remove_supplieradmin (in string name)
      raises (InvalidName);

    oneway void shutdown ();
  };
};

#endif /* NOTIFICATIONSERVICEMC_IDL */