public interface IConnectionFactory

Known direct subtypes: ConnectionFactory

Property Summary

Type Name Summary
IDictionary<string,object> ClientProperties (rw)

Dictionary of client properties to be sent to the server.

string Password (rw)

Password to use when authenticating to the server.

ushort RequestedChannelMax (rw)

Maximum channel number to ask for.

uint RequestedFrameMax (rw)

Frame-max parameter to ask for (in bytes).

ushort RequestedHeartbeat (rw)

Heartbeat setting to request (in seconds).

TaskScheduler TaskScheduler (rw)

Advanced option. What task scheduler should consumer dispatcher use.

bool UseBackgroundThreadsForIO (rw)

When set to true, background threads will be used for I/O and heartbeats.

string UserName (rw)

Username to use when authenticating to the server.

string VirtualHost (rw)

Virtual host to access during this connection.

Method Summary

Name Summary
AuthMechanismFactory AuthMechanismFactory(string[] mechanismNames)

Given a list of mechanism names supported by the server, select a preferred mechanism, or null if we have none in common.

IConnection CreateConnection()

Create a connection to the specified endpoint.

Property Detail

IDictionary<string,object> ClientProperties (rw)

Summary

Dictionary of client properties to be sent to the server.

string Password (rw)

Summary

Password to use when authenticating to the server.

ushort RequestedChannelMax (rw)

Summary

Maximum channel number to ask for.

uint RequestedFrameMax (rw)

Summary

Frame-max parameter to ask for (in bytes).

ushort RequestedHeartbeat (rw)

Summary

Heartbeat setting to request (in seconds).

TaskScheduler TaskScheduler (rw)

Summary

Advanced option. What task scheduler should consumer dispatcher use.

bool UseBackgroundThreadsForIO (rw)

Summary

When set to true, background threads will be used for I/O and heartbeats.

string UserName (rw)

Summary

Username to use when authenticating to the server.

string VirtualHost (rw)

Summary

Virtual host to access during this connection.

Method Detail

AuthMechanismFactory

AuthMechanismFactory AuthMechanismFactory(string[] mechanismNames)

Return type AuthMechanismFactory
Parameters
Name Type
mechanismNames string[]

Summary

Given a list of mechanism names supported by the server, select a preferred mechanism, or null if we have none in common.

CreateConnection

IConnection CreateConnection()

Return type IConnection

Summary

Create a connection to the specified endpoint.