Vendor-specific variants of particular official specification versions exist: this class simply represents the AMQP specification version, and does not try to represent information about any custom variations involved.
AMQP version 0-8 peers sometimes advertise themselves as version 8-0: for this reason, this class's constructor special-cases 8-0, rewriting it at construction time to be 0-8 instead.
| Flags | Type | Name | Summary |
|---|---|---|---|
| public | |
Major (r)
|
The AMQP specification major version number |
| public | |
Minor (r)
|
The AMQP specification minor version number |
| Flags | Name | Summary |
|---|---|---|
| public | AmqpVersion(int major, int minor)
|
Construct an AmqpVersion from major and minor version numbers. |
| Flags | Name | Summary |
|---|---|---|
| public virtual | bool Equals(object other)
|
Implement value-equality comparison. |
| public virtual | int GetHashCode()
|
Implement hashing as for value-equality. |
| public virtual | string ToString()
|
Format appropriately for display. |
public AmqpVersion(int major, int minor)
| Parameters |
|
|---|
public virtual bool Equals(object other)
| Flags | public virtual | ||||
|---|---|---|---|---|---|
| Return type | |
||||
| Parameters |
|