Class SimpleConnection
Inheritance
System.Object
SimpleConnection
Implements
IDisposable
RabbitMQ.Client.NetworkConnection
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public class SimpleConnection : object, IConnection
Constructors
|
Edit this page
View Source
SimpleConnection(RabbitMQ.Client.IConnection, Int32, ILogger)
Declaration
public SimpleConnection(RabbitMQ.Client.IConnection connection, int closeTimeout, ILogger logger = null)
Parameters
Type |
Name |
Description |
RabbitMQ.Client.IConnection |
connection |
|
System.Int32 |
closeTimeout |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
Address
Declaration
public string Address { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Connection
Declaration
public RabbitMQ.Client.IConnection Connection { get; }
Property Value
Type |
Description |
RabbitMQ.Client.IConnection |
|
|
Edit this page
View Source
IsOpen
Declaration
public bool IsOpen { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
LocalPort
Declaration
public int LocalPort { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Port
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
RemotePort
Declaration
public int RemotePort { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Edit this page
View Source
AddBlockedListener(IBlockedListener)
Declaration
public void AddBlockedListener(IBlockedListener listener)
Parameters
|
Edit this page
View Source
Close()
Declaration
|
Edit this page
View Source
CreateChannel(Boolean)
Declaration
public RabbitMQ.Client.IModel CreateChannel(bool transactional = false)
Parameters
Type |
Name |
Description |
System.Boolean |
transactional |
|
Returns
Type |
Description |
RabbitMQ.Client.IModel |
|
|
Edit this page
View Source
Dispose()
Declaration
|
Edit this page
View Source
RemoveBlockedListener(IBlockedListener)
Declaration
public bool RemoveBlockedListener(IBlockedListener listener)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
IDisposable
RabbitMQ.Client.NetworkConnection