Interface IConnectionListener
- Namespace
- Steeltoe.Messaging.RabbitMQ.Connection
- Assembly
- Steeltoe.Messaging.RabbitMQ.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
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