Class JMXNotification

java.lang.Object
org.jppf.jmxremote.message.JMXNotification
All Implemented Interfaces:
Serializable, JMXMessage

public class JMXNotification extends Object
A specialized message that represents a JMX notification to dispatch on the client side.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JMXNotification

      public JMXNotification(long messageID, Notification notification, Integer[] listenerIDs)
      Initialize this request with the specified ID, request type and parameters.
      Parameters:
      messageID - the message id.
      notification - the notification to dispatch.
      listenerIDs - ids of the listeners to dispatch the notification to.
  • Method Details

    • getNotification

      public Notification getNotification()
      Returns:
      the actual notification.
    • getListenerIDs

      public Integer[] getListenerIDs()
      Returns:
      the ids of the listeners to dispatch to.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMessageID

      public long getMessageID()
      Description copied from interface: JMXMessage
      Get the id of this message.
      Specified by:
      getMessageID in interface JMXMessage
      Returns:
      the message ID.
    • getMessageType

      public byte getMessageType()
      Specified by:
      getMessageType in interface JMXMessage
      Returns:
      the type of request/response/notification to send.