Interface IConnectionListener
Namespace: Steeltoe.Messaging.RabbitMQ.Connection
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public interface IConnectionListener
Methods
| Edit this page View SourceOnClose(IConnection)
Called when connection is closed
Declaration
void OnClose(IConnection connection)
Parameters
Type | Name | Description |
---|---|---|
IConnection | connection | the connection |
OnCreate(IConnection)
Called when a new connection is established
Declaration
void OnCreate(IConnection connection)
Parameters
Type | Name | Description |
---|---|---|
IConnection | connection | the connection |
OnShutDown(RabbitMQ.Client.ShutdownEventArgs)
Called when connection is forced to close
Declaration
void OnShutDown(RabbitMQ.Client.ShutdownEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RabbitMQ.Client.ShutdownEventArgs | args | the event |