Class JMXConnectionStatusEvent

java.lang.Object
java.util.EventObject
org.jppf.jmxremote.JMXConnectionStatusEvent
All Implemented Interfaces:
Serializable

public class JMXConnectionStatusEvent extends EventObject
Notification of a connection event on the server side.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JMXConnectionStatusEvent

      public JMXConnectionStatusEvent(String connectionID)
      Initialize this event with the specified connection id and no Throwable.
      Parameters:
      connectionID - the id of the connection source of this event.
    • JMXConnectionStatusEvent

      public JMXConnectionStatusEvent(String connectionID, Throwable throwable)
      Initialize this event with the specified connection id and Throwable.
      Parameters:
      connectionID - the id of the connection source of this event.
      throwable - a Throwable that caused the connection failure, may be null.
  • Method Details

    • getConnectionID

      public String getConnectionID()
      Returns:
      the id of the connection source of this event.
    • getThrowable

      public Throwable getThrowable()
      Returns:
      the Throwable that caused the connection failure, may be null.
    • toString

      public String toString()
      Overrides:
      toString in class EventObject