public class PacketNotRecognizedException

Summary

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.

Remarks

The peer's {'A','M','Q','P',txHi,txLo,major,minor} packet is decoded into instances of this class.

Property Summary

Flags Type Name Summary
public int ServerMajor (rw)

The peer's AMQP specification major version.

public int ServerMinor (rw)

The peer's AMQP specification minor version.

public int TransportHigh (rw)

The peer's high transport byte.

public int TransportLow (rw)

The peer's low transport byte.

Constructor Summary

Flags Name Summary
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor)

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

Property Detail

public int ServerMajor (rw)

Summary

The peer's AMQP specification major version.

public int ServerMinor (rw)

Summary

The peer's AMQP specification minor version.

public int TransportHigh (rw)

Summary

The peer's high transport byte.

public int TransportLow (rw)

Summary

The peer's low transport byte.

Constructor Detail

PacketNotRecognizedException

public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor)

Parameters
Name Type
transportHigh int
transportLow int
serverMajor int
serverMinor int

Summary

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