summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LWFT/FaultNotification.idl
blob: 2ff7cfbd2cb80dfbba85b75c0be0def2f30a6f34 (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
// $Id$

#ifndef FAULTNOTIFICATION_IDL
#define FAULTNOTIFICATION_IDL

module FLARE {

  typedef sequence<string> ApplicationList;

  interface FaultNotification {
    void app_failure (in string host,
                      in ApplicationList applications);
  };

  exception NotifyRegistrationError {};

  typedef unsigned long NotificationId;

  interface FaultNotifier {

    NotificationId register_fault_notification (in FaultNotification receiver)
      raises (NotifyRegistrationError);

    void unregister_fault_notification (in NotificationId id);

  };

};

#endif /* FAULTNOTIFICATION_IDL */