com.rabbitmq.client
public class ProtocolVersionMismatchException extends java.net.ProtocolException
Constructor and Description |
---|
ProtocolVersionMismatchException(Version clientVersion,
Version serverVersion) |
Modifier and Type | Method and Description |
---|---|
int |
getClientMajor()
The client's AMQP specification major version.
|
int |
getClientMinor()
The client's AMQP specification minor version.
|
Version |
getClientVersion()
The client's AMQP specification version.
|
int |
getServerMajor()
The server's AMQP specification major version.
|
int |
getServerMinor()
The server's AMQP specification minor version.
|
Version |
getServerVersion()
The server's AMQP specification version.
|
public Version getClientVersion()
public Version getServerVersion()
public int getClientMajor()
public int getClientMinor()
public int getServerMajor()
public int getServerMinor()