org.apache.qpid.protocol
Interface ProtocolVersionAware

All Known Subinterfaces:
AMQVersionAwareProtocolSession

public interface ProtocolVersionAware

ProtocolVersionAware is implemented by all AMQP handling classes, that need to provide an awareness to callers of the version of the AMQP protocol that they are able to handle.

CRC Card
Responsibilities
Report the major and minor AMQP version handled.


Method Summary
 byte getProtocolMajorVersion()
          Deprecated. Reports the AMQP major version, that the implementer can handle.
 byte getProtocolMinorVersion()
          Deprecated. Reports the AMQP minor version, that the implementer can handle.
 ProtocolVersion getProtocolVersion()
           
 

Method Detail

getProtocolMinorVersion

byte getProtocolMinorVersion()
Deprecated. Reports the AMQP minor version, that the implementer can handle.

Returns:
The AMQP minor version.

getProtocolMajorVersion

byte getProtocolMajorVersion()
Deprecated. Reports the AMQP major version, that the implementer can handle.

Returns:
The AMQP major version.

getProtocolVersion

ProtocolVersion getProtocolVersion()


Licensed to the Apache Software Foundation