org.apache.qpid.framing
Class VersionSpecificRegistry

java.lang.Object
  extended by org.apache.qpid.framing.VersionSpecificRegistry

public class VersionSpecificRegistry
extends Object


Constructor Summary
VersionSpecificRegistry(byte major, byte minor)
           
 
Method Summary
 void configure()
           
 AMQMethodBody get(short classID, short methodID, org.apache.mina.common.ByteBuffer in, long size)
           
 AMQMethodBodyInstanceFactory getMethodBody(short classID, short methodID)
           
 byte getProtocolMajorVersion()
           
 byte getProtocolMinorVersion()
           
 ProtocolVersionMethodConverter getProtocolVersionMethodConverter()
           
 void registerMethod(short classID, short methodID, AMQMethodBodyInstanceFactory instanceFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionSpecificRegistry

public VersionSpecificRegistry(byte major,
                               byte minor)
Method Detail

getProtocolMajorVersion

public byte getProtocolMajorVersion()

getProtocolMinorVersion

public byte getProtocolMinorVersion()

getMethodBody

public AMQMethodBodyInstanceFactory getMethodBody(short classID,
                                                  short methodID)

registerMethod

public void registerMethod(short classID,
                           short methodID,
                           AMQMethodBodyInstanceFactory instanceFactory)

get

public AMQMethodBody get(short classID,
                         short methodID,
                         org.apache.mina.common.ByteBuffer in,
                         long size)
                  throws AMQFrameDecodingException
Throws:
AMQFrameDecodingException

getProtocolVersionMethodConverter

public ProtocolVersionMethodConverter getProtocolVersionMethodConverter()

configure

public void configure()


Licensed to the Apache Software Foundation