org.apache.qpid.requestreply
Class PingPongBouncer.FailoverNotifier
java.lang.Object
org.apache.qpid.requestreply.PingPongBouncer.FailoverNotifier
- All Implemented Interfaces:
- org.apache.qpid.jms.ConnectionListener
- Enclosing class:
- PingPongBouncer
public static class PingPongBouncer.FailoverNotifier
- extends Object
- implements org.apache.qpid.jms.ConnectionListener
A connection listener that logs out any failover complete events. Could do more interesting things with this
at some point...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PingPongBouncer.FailoverNotifier
public PingPongBouncer.FailoverNotifier()
bytesSent
public void bytesSent(long count)
- Specified by:
bytesSent
in interface org.apache.qpid.jms.ConnectionListener
bytesReceived
public void bytesReceived(long count)
- Specified by:
bytesReceived
in interface org.apache.qpid.jms.ConnectionListener
preFailover
public boolean preFailover(boolean redirect)
- Specified by:
preFailover
in interface org.apache.qpid.jms.ConnectionListener
preResubscribe
public boolean preResubscribe()
- Specified by:
preResubscribe
in interface org.apache.qpid.jms.ConnectionListener
failoverComplete
public void failoverComplete()
- Specified by:
failoverComplete
in interface org.apache.qpid.jms.ConnectionListener
Licensed to the Apache Software Foundation