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(Sender<ByteBuffer> sender) |
writeFramegetProtocolMajorVersion, getProtocolMinorVersion, getProtocolVersionMethodRegistry getMethodRegistry()
void methodFrameReceived(int channelId,
AMQMethodBody body)
throws AMQException
AMQExceptionvoid contentHeaderReceived(int channelId,
ContentHeaderBody body)
throws AMQException
AMQExceptionvoid contentBodyReceived(int channelId,
ContentBody body)
throws AMQException
AMQExceptionvoid heartbeatBodyReceived(int channelId,
HeartbeatBody body)
throws AMQException
AMQExceptionvoid setSender(Sender<ByteBuffer> sender)
Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.