org.hornetq.api.core.client
Interface FailoverEventListener


public interface FailoverEventListener

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

Author:
Flemming Harms

Method Summary
 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 © 2012 JBoss, a division of Red Hat. All Rights Reserved.