public class ProtocolVersionMismatchException

Summary

Thrown to indicate that the peer does not support the wire protocol version we requested immediately after opening the TCP socket.

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 (r)

The peer's AMQP specification major version.

public int ServerMinor (r)

The peer's AMQP specification minor version.

public int TransportHigh (r)

The peer's high transport byte.

public int TransportLow (r)

The peer's low transport byte.

Constructor Summary

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

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

Property Detail

public int ServerMajor (r)

Summary

The peer's AMQP specification major version.

public int ServerMinor (r)

Summary

The peer's AMQP specification minor version.

public int TransportHigh (r)

Summary

The peer's high transport byte.

public int TransportLow (r)

Summary

The peer's low transport byte.

Constructor Detail

ProtocolVersionMismatchException

public ProtocolVersionMismatchException(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.