Table of Contents

Interface IProtocol

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll

Object describing various overarching parameters associated with a particular AMQP protocol variant.

public interface IProtocol

Properties

ApiName

Retrieve the protocol's API name, used for printing, configuration properties, IDE integration, Protocols.cs etc.

string ApiName { get; }

Property Value

string

DefaultPort

Retrieve the protocol's default TCP port.

int DefaultPort { get; }

Property Value

int

MajorVersion

Retrieve the protocol's major version number.

int MajorVersion { get; }

Property Value

int

MinorVersion

Retrieve the protocol's minor version number.

int MinorVersion { get; }

Property Value

int

Revision

Retrieve the protocol's revision (if specified).

int Revision { get; }

Property Value

int