namespace Tapeti.Connection
{
///
/// Receives notifications on the state of the connection.
///
public interface IConnectionEventListener
{
///
/// Called when a connection to RabbitMQ has been established.
///
void Connected();
///
/// Called when the connection to RabbitMQ has been lost.
///
void Reconnected();
///
/// Called when the connection to RabbitMQ has been recovered after an unexpected disconnect.
///
void Disconnected(DisconnectedEventArgs e);
}
}