Class PacketNotRecognizedException
- Namespace
- RabbitMQ.Client.Exceptions
- Assembly
- RabbitMQ.Client.dll
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.
[Serializable]
public class PacketNotRecognizedException : RabbitMQClientException, ISerializable
- Inheritance
-
PacketNotRecognizedException
- Implements
- Inherited Members
Remarks
The peer's {'A','M','Q','P',txHi,txLo,major,minor} packet is decoded into instances of this class.
Constructors
PacketNotRecognizedException(int, int, int, int)
Fills the new instance's properties with the values passed in.
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor)
Parameters
Properties
ServerMajor
The peer's AMQP specification major version.
public int ServerMajor { get; }
Property Value
ServerMinor
The peer's AMQP specification minor version.
public int ServerMinor { get; }
Property Value
TransportHigh
The peer's high transport byte.
public int TransportHigh { get; }
Property Value
TransportLow
The peer's low transport byte.
public int TransportLow { get; }