Interface JMXConnectionWrapperListener

All Superinterfaces:
EventListener

public interface JMXConnectionWrapperListener extends EventListener
Listner interface for objects that wish to be notified when a JMX connection is established or times out after a specified delay.
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notify listeners that a JMX connection wrapper successfully connected to the remote JMX server.
    void
    Notify listeners that a JMX connection wrapper failed to connect before the timeout specified in the configuration.
  • Method Details

    • onConnected

      void onConnected(JMXConnectionWrapperEvent event)
      Notify listeners that a JMX connection wrapper successfully connected to the remote JMX server.
      Parameters:
      event - the event encapsulating the connection.
    • onConnectionTimeout

      void onConnectionTimeout(JMXConnectionWrapperEvent event)
      Notify listeners that a JMX connection wrapper failed to connect before the timeout specified in the configuration.
      Parameters:
      event - the event encapsulating the connection.