Class BrokerDecoder
- java.lang.Object
-
- org.apache.qpid.server.protocol.v0_8.AMQDecoder<ServerMethodProcessor<? extends ServerChannelMethodProcessor>>
-
- org.apache.qpid.server.protocol.v0_8.ServerDecoder
-
- org.apache.qpid.server.protocol.v0_8.BrokerDecoder
-
public class BrokerDecoder extends ServerDecoder
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.server.protocol.v0_8.AMQDecoder
FRAME_HEADER_SIZE, FRAME_MIN_SIZE
-
-
Constructor Summary
Constructors Constructor Description BrokerDecoder(AMQPConnection_0_8Impl connection)Creates a new AMQP decoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intprocessAMQPFrames(org.apache.qpid.server.bytebuffer.QpidByteBuffer buf)protected voidprocessFrame(int channelId, byte type, long bodySize, org.apache.qpid.server.bytebuffer.QpidByteBuffer in)-
Methods inherited from class org.apache.qpid.server.protocol.v0_8.ServerDecoder
decodeBuffer, processMethod
-
Methods inherited from class org.apache.qpid.server.protocol.v0_8.AMQDecoder
decodable, decode, getMethodProcessor, newUnknownMethodException, processInput, setExpectProtocolInitiation, setMaxFrameSize
-
-
-
-
Constructor Detail
-
BrokerDecoder
public BrokerDecoder(AMQPConnection_0_8Impl connection)
Creates a new AMQP decoder.- Parameters:
connection-
-
-
Method Detail
-
processFrame
protected void processFrame(int channelId, byte type, long bodySize, org.apache.qpid.server.bytebuffer.QpidByteBuffer in) throws AMQFrameDecodingException- Overrides:
processFramein classAMQDecoder<ServerMethodProcessor<? extends ServerChannelMethodProcessor>>- Throws:
AMQFrameDecodingException
-
processAMQPFrames
protected final int processAMQPFrames(org.apache.qpid.server.bytebuffer.QpidByteBuffer buf) throws AMQFrameDecodingException- Overrides:
processAMQPFramesin classAMQDecoder<ServerMethodProcessor<? extends ServerChannelMethodProcessor>>- Throws:
AMQFrameDecodingException
-
-