Class PacketNotRecognizedException
Thrown to indicate that the peer didn't understand the packet received from the client. Peer sent default message describing protocol version it is using and transport parameters.
Inherited Members
Namespace: RabbitMQ.Client.Exceptions
Assembly: RabbitMQ.Client.dll
Syntax
[Serializable]
public class PacketNotRecognizedException : RabbitMQClientException, ISerializable, _Exception
Remarks
The peer's {'A','M','Q','P',txHi,txLo,major,minor} packet is decoded into instances of this class.
Constructors
| Edit this page View SourcePacketNotRecognizedException(int, int, int, int)
Fills the new instance's properties with the values passed in.
Declaration
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor)
Parameters
Type | Name | Description |
---|---|---|
int | transportHigh | |
int | transportLow | |
int | serverMajor | |
int | serverMinor |
Properties
| Edit this page View SourceServerMajor
The peer's AMQP specification major version.
Declaration
public int ServerMajor { get; }
Property Value
Type | Description |
---|---|
int |
ServerMinor
The peer's AMQP specification minor version.
Declaration
public int ServerMinor { get; }
Property Value
Type | Description |
---|---|
int |
TransportHigh
The peer's high transport byte.
Declaration
public int TransportHigh { get; }
Property Value
Type | Description |
---|---|
int |
TransportLow
The peer's low transport byte.
Declaration
public int TransportLow { get; }
Property Value
Type | Description |
---|---|
int |