C# Class RabbitMQ.Client.Exceptions.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.
The peer's {'A','M','Q','P',txHi,txLo,major,minor} packet is decoded into instances of this class.
Inheritance: System.Net.ProtocolViolationException
显示文件 Open project: rabbitmq/rabbitmq-dotnet-client

Public Methods

Method Description
PacketNotRecognizedException ( int transportHigh, int transportLow, int serverMajor, int serverMinor ) : System

Fills the new instance's properties with the values passed in.

Method Details

PacketNotRecognizedException() public method

Fills the new instance's properties with the values passed in.
public PacketNotRecognizedException ( int transportHigh, int transportLow, int serverMajor, int serverMinor ) : System
transportHigh int
transportLow int
serverMajor int
serverMinor int
return System