public interface AMQVersionAwareProtocolSession extends AMQProtocolWriter, ProtocolVersionAware
TODO Why is this a seperate interface to ProtocolVersionAware
, could they be combined into a single
interface and one of them eliminated? Move getRegistry method to ProtocolVersionAware, make the sessions
implement AMQProtocolWriter directly and drop this interface.
Modifier and Type | Method and Description |
---|---|
void |
contentBodyReceived(int channelId,
ContentBody body) |
void |
contentHeaderReceived(int channelId,
ContentHeaderBody body) |
MethodRegistry |
getMethodRegistry()
Gets the method registry for a specific version of the AMQP.
|
void |
heartbeatBodyReceived(int channelId,
HeartbeatBody body) |
void |
methodFrameReceived(int channelId,
AMQMethodBody body) |
void |
setSender(ByteBufferSender sender) |
writeFrame
getProtocolVersion
MethodRegistry getMethodRegistry()
void methodFrameReceived(int channelId, AMQMethodBody body) throws QpidException
QpidException
void contentHeaderReceived(int channelId, ContentHeaderBody body) throws QpidException
QpidException
void contentBodyReceived(int channelId, ContentBody body) throws QpidException
QpidException
void heartbeatBodyReceived(int channelId, HeartbeatBody body) throws QpidException
QpidException
void setSender(ByteBufferSender sender)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.