org.apache.qpid.framing
Class AMQDataBlockDecoder

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

public class AMQDataBlockDecoder
extends Object


Field Summary
(package private)  org.slf4j.Logger _logger
           
 
Constructor Summary
AMQDataBlockDecoder()
           
 
Method Summary
 AMQFrame createAndPopulateFrame(AMQMethodBodyFactory methodBodyFactory, org.apache.mina.common.ByteBuffer in)
           
 AMQDataBlock createAndPopulateFrame(AMQMethodBodyFactory factory, ByteBuffer msg)
           
 boolean decodable(ByteBuffer in)
           
 boolean decodable(org.apache.mina.common.ByteBuffer msg)
           
 void decode(org.apache.mina.common.IoSession session, org.apache.mina.common.ByteBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

org.slf4j.Logger _logger
Constructor Detail

AMQDataBlockDecoder

public AMQDataBlockDecoder()
Method Detail

decodable

public boolean decodable(ByteBuffer in)
                  throws AMQFrameDecodingException
Throws:
AMQFrameDecodingException

createAndPopulateFrame

public AMQFrame createAndPopulateFrame(AMQMethodBodyFactory methodBodyFactory,
                                       org.apache.mina.common.ByteBuffer in)
                                throws AMQFrameDecodingException,
                                       AMQProtocolVersionException
Throws:
AMQFrameDecodingException
AMQProtocolVersionException

decode

public void decode(org.apache.mina.common.IoSession session,
                   org.apache.mina.common.ByteBuffer in,
                   org.apache.mina.filter.codec.ProtocolDecoderOutput out)
            throws Exception
Throws:
Exception

decodable

public boolean decodable(org.apache.mina.common.ByteBuffer msg)
                  throws AMQFrameDecodingException
Throws:
AMQFrameDecodingException

createAndPopulateFrame

public AMQDataBlock createAndPopulateFrame(AMQMethodBodyFactory factory,
                                           ByteBuffer msg)
                                    throws AMQProtocolVersionException,
                                           AMQFrameDecodingException
Throws:
AMQProtocolVersionException
AMQFrameDecodingException


Licensed to the Apache Software Foundation