OSDN Git Service

PR middle-end/41674
[pf3gnuchains/gcc-fork.git] / libjava / javax / management / NotificationBroadcasterSupport.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __javax_management_NotificationBroadcasterSupport__
5 #define __javax_management_NotificationBroadcasterSupport__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace javax
15   {
16     namespace management
17     {
18         class MBeanNotificationInfo;
19         class Notification;
20         class NotificationBroadcasterSupport;
21         class NotificationFilter;
22         class NotificationListener;
23     }
24   }
25 }
26
27 class javax::management::NotificationBroadcasterSupport : public ::java::lang::Object
28 {
29
30 public:
31   NotificationBroadcasterSupport();
32   NotificationBroadcasterSupport(::java::util::concurrent::Executor *);
33   NotificationBroadcasterSupport(JArray< ::javax::management::MBeanNotificationInfo * > *);
34   NotificationBroadcasterSupport(::java::util::concurrent::Executor *, JArray< ::javax::management::MBeanNotificationInfo * > *);
35   virtual void addNotificationListener(::javax::management::NotificationListener *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
36   virtual JArray< ::javax::management::MBeanNotificationInfo * > * getNotificationInfo();
37 public: // actually protected
38   virtual void handleNotification(::javax::management::NotificationListener *, ::javax::management::Notification *, ::java::lang::Object *);
39 public:
40   virtual void removeNotificationListener(::javax::management::NotificationListener *);
41   virtual void removeNotificationListener(::javax::management::NotificationListener *, ::javax::management::NotificationFilter *, ::java::lang::Object *);
42   virtual void sendNotification(::javax::management::Notification *);
43 private:
44   ::java::util::concurrent::Executor * __attribute__((aligned(__alignof__( ::java::lang::Object)))) executor;
45   JArray< ::javax::management::MBeanNotificationInfo * > * info;
46   ::java::util::List * listeners;
47 public:
48   static ::java::lang::Class class$;
49 };
50
51 #endif // __javax_management_NotificationBroadcasterSupport__