Interface IConnectionListener
- Namespace
- Steeltoe.Messaging.RabbitMQ.Connection
- Assembly
- Steeltoe.Messaging.RabbitMQ.dll
public interface IConnectionListener
Methods
OnClose(IConnection)
Called when connection is closed
void OnClose(IConnection connection)
Parameters
connection
IConnectionthe connection
OnCreate(IConnection)
Called when a new connection is established
void OnCreate(IConnection connection)
Parameters
connection
IConnectionthe connection
OnShutDown(ShutdownEventArgs)
Called when connection is forced to close
void OnShutDown(ShutdownEventArgs args)
Parameters
args
ShutdownEventArgsthe event