Package org.jppf.jmxremote.message
Class JMXNotification
java.lang.Object
org.jppf.jmxremote.message.JMXNotification
- All Implemented Interfaces:
Serializable,JMXMessage
A specialized message that represents a JMX notification to dispatch on the client side.
- Author:
- Laurent Cohen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJMXNotification(long messageID, Notification notification, Integer[] listenerIDs) Initialize this request with the specified ID, request type and parameters. -
Method Summary
-
Constructor Details
-
JMXNotification
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
- Returns:
- the actual notification.
-
getListenerIDs
- Returns:
- the ids of the listeners to dispatch to.
-
toString
-
getMessageID
public long getMessageID()Description copied from interface:JMXMessageGet the id of this message.- Specified by:
getMessageIDin interfaceJMXMessage- Returns:
- the message ID.
-
getMessageType
public byte getMessageType()- Specified by:
getMessageTypein interfaceJMXMessage- Returns:
- the type of request/response/notification to send.
-