Package org.jppf.jmxremote
Class JMXConnectionStatusEvent
java.lang.Object
java.util.EventObject
org.jppf.jmxremote.JMXConnectionStatusEvent
- All Implemented Interfaces:
Serializable
Notification of a connection event on the server side.
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionJMXConnectionStatusEvent(String connectionID) Initialize this event with the specified connection id and noThrowable.JMXConnectionStatusEvent(String connectionID, Throwable throwable) Initialize this event with the specified connection id andThrowable. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
JMXConnectionStatusEvent
Initialize this event with the specified connection id and noThrowable.- Parameters:
connectionID- the id of the connection source of this event.
-
JMXConnectionStatusEvent
Initialize this event with the specified connection id andThrowable.- Parameters:
connectionID- the id of the connection source of this event.throwable- aThrowablethat caused the connection failure, may benull.
-
-
Method Details
-
getConnectionID
- Returns:
- the id of the connection source of this event.
-
getThrowable
- Returns:
- the
Throwablethat caused the connection failure, may benull.
-
toString
- Overrides:
toStringin classEventObject
-