use of javax.management.remote.JMXConnectionNotification in project felix by apache.
the class ConnectionNotificationEmitter method sendConnectionNotificationClosed.
public void sendConnectionNotificationClosed() {
JMXConnectionNotification notification = new JMXConnectionNotification(JMXConnectionNotification.CLOSED, connector, getConnectionId(), getNextNotificationNumber(), "Connection closed", null);
sendNotification(notification);
}
use of javax.management.remote.JMXConnectionNotification in project felix by apache.
the class ConnectionNotificationEmitter method sendConnectionNotificationFailed.
public void sendConnectionNotificationFailed() {
JMXConnectionNotification notification = new JMXConnectionNotification(JMXConnectionNotification.FAILED, connector, getConnectionId(), getNextNotificationNumber(), "Connection failed", null);
sendNotification(notification);
}
use of javax.management.remote.JMXConnectionNotification in project felix by apache.
the class ConnectionNotificationEmitter method sendConnectionNotificationLost.
public void sendConnectionNotificationLost(long howMany) {
JMXConnectionNotification notification = new JMXConnectionNotification(JMXConnectionNotification.NOTIFS_LOST, connector, getConnectionId(), getNextNotificationNumber(), "Some notification (" + howMany + ") was lost", null);
sendNotification(notification);
}
Aggregations