org.apache.activemq.artemis.api.core.client

## Interface FailoverEventListener

-     public interface FailoverEventListener

  A FailoverEvent notifies the client the state if the connection changes occurred on the session.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `failoverEvent(FailoverEventType eventType)` Notifies that a connection state has changed according the specified event type.

- - ### Method Detail

    - #### failoverEvent

          void failoverEvent(FailoverEventType eventType)

      Notifies that a connection state has changed according the specified event type.
      This method is called when failover is detected, if it fails and when it's completed
      Parameters:
        `eventType` - The type of event

Copyright © 2018 The Apache Software Foundation. All rights reserved.