Interface IProtocol
Object describing various overarching parameters associated with a particular AMQP protocol variant.
Namespace: RabbitMQ.Client
Assembly: RabbitMQ.Client.dll
Syntax
public interface IProtocol
Properties
| Edit this page View SourceApiName
Retrieve the protocol's API name, used for printing, configuration properties, IDE integration, Protocols.cs etc.
Declaration
string ApiName { get; }
Property Value
Type | Description |
---|---|
string |
DefaultPort
Retrieve the protocol's default TCP port.
Declaration
int DefaultPort { get; }
Property Value
Type | Description |
---|---|
int |
MajorVersion
Retrieve the protocol's major version number.
Declaration
int MajorVersion { get; }
Property Value
Type | Description |
---|---|
int |
MinorVersion
Retrieve the protocol's minor version number.
Declaration
int MinorVersion { get; }
Property Value
Type | Description |
---|---|
int |
Revision
Retrieve the protocol's revision (if specified).
Declaration
int Revision { get; }
Property Value
Type | Description |
---|---|
int |