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

#ifndef FAULTNOTIFICATION_IDL
#define FAULTNOTIFICATION_IDL

module FLARE {

  interface FaultNotification {
    void proc_failure (in string host,
                       in string component_instance);
  };

  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 */