public interface RemoteNotificationClientHandler
RemoteNotificationServerHandler
Modifier and Type | Method and Description |
---|---|
void |
addNotificationListener(java.lang.Integer id,
NotificationTuple tuple)
Adds the given tuple with the given listener ID to this handler
|
boolean |
contains(NotificationTuple tuple)
Returns whether the tuple is already present in this handler
|
java.lang.Integer |
getNotificationListener(NotificationTuple tuple)
Returns the ID of the listener for the given tuple
|
java.lang.Integer[] |
getNotificationListeners(NotificationTuple tuple)
Returns the IDs of the listeners for the given tuple
|
void |
removeNotificationListeners(java.lang.Integer[] ids)
Removes the listeners with the given IDs from this handler
|
void |
start()
Starts notification fetching
|
void |
stop()
Stops notification fetching
|
void start()
stop()
void stop()
start()
boolean contains(NotificationTuple tuple)
void addNotificationListener(java.lang.Integer id, NotificationTuple tuple)
MBeanServerConnection.addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
,
removeNotificationListeners(java.lang.Integer[])
java.lang.Integer[] getNotificationListeners(NotificationTuple tuple)
MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener)
,
getNotificationListener(mx4j.remote.NotificationTuple)
java.lang.Integer getNotificationListener(NotificationTuple tuple)
MBeanServerConnection.removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
,
getNotificationListeners(mx4j.remote.NotificationTuple)
void removeNotificationListeners(java.lang.Integer[] ids)