Minor reformatting.
[official-gcc.git] / libjava / javax / management / NotificationBroadcasterSupport.h
blobcea1aa3be0bcd31947407421e628f8228dcd0d36
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_management_NotificationBroadcasterSupport__
5 #define __javax_management_NotificationBroadcasterSupport__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace management
18 class MBeanNotificationInfo;
19 class Notification;
20 class NotificationBroadcasterSupport;
21 class NotificationFilter;
22 class NotificationListener;
27 class javax::management::NotificationBroadcasterSupport : public ::java::lang::Object
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$;
51 #endif // __javax_management_NotificationBroadcasterSupport__