| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Handles remote notification sending on server side. It takes care of collecting requests for listener addition and removal, and to send notifications back to the client side.
RemoteNotificationClientHandler| Method Summary | |
|  void | addNotificationListener(java.lang.Integer id,
                        NotificationTuple tuple)Adds the given tuple with the given listener ID to this handler | 
|  NotificationTuple[] | close()Closes this handler, that will not accept anymore add or removal of listeners | 
|  javax.management.remote.NotificationResult | fetchNotifications(long sequenceNumber,
                   int maxNotifications,
                   long timeout)Fetches notifications from the notification buffer in order to send them to the client side | 
|  java.lang.Integer | generateListenerID(javax.management.ObjectName name,
                   javax.management.NotificationFilter filter)Returns a unique ID for a client-side NotificationListener | 
|  javax.management.NotificationListener | getServerNotificationListener()Returns the unique server side listener that will represent client-side listeners on MBeans. | 
|  NotificationTuple | removeNotificationListener(java.lang.Integer id)Removes the listener with the given ID from this handler | 
| Method Detail | 
public java.lang.Integer generateListenerID(javax.management.ObjectName name,
                                            javax.management.NotificationFilter filter)
addNotificationListener(java.lang.Integer, mx4j.remote.NotificationTuple)public javax.management.NotificationListener getServerNotificationListener()
public void addNotificationListener(java.lang.Integer id,
                                    NotificationTuple tuple)
removeNotificationListener(java.lang.Integer)public NotificationTuple removeNotificationListener(java.lang.Integer id)
addNotificationListener(java.lang.Integer, mx4j.remote.NotificationTuple)
public javax.management.remote.NotificationResult fetchNotifications(long sequenceNumber,
                                                                     int maxNotifications,
                                                                     long timeout)
                                                              throws java.io.IOException
java.io.IOException - If this handler has already been closedpublic NotificationTuple[] close()
fetchNotifications(long, int, long)| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||