public interface AMQMethodBody extends AMQBody
Modifier and Type | Field and Description |
---|---|
static byte |
TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(MethodDispatcher methodDispatcher,
int channelId) |
AMQFrame |
generateFrame(int channelId) |
AMQChannelException |
getChannelException(AMQConstant code,
String message,
MethodRegistry methodRegistry) |
AMQChannelException |
getChannelNotFoundException(int channelId,
MethodRegistry methodRegistry)
Convenience Method to create a channel not found exception
|
int |
getClazz() |
AMQConnectionException |
getConnectionException(AMQConstant code,
String message,
MethodRegistry methodRegistry) |
int |
getMethod() |
int |
getSize()
Get the size of the body
|
String |
toString() |
void |
writeMethodPayload(DataOutput buffer) |
void |
writePayload(DataOutput buffer) |
getFrameType, handle, writePayload
static final byte TYPE
int getClazz()
int getMethod()
void writeMethodPayload(DataOutput buffer) throws IOException
IOException
int getSize()
AMQBody
void writePayload(DataOutput buffer) throws IOException
writePayload
in interface AMQBody
IOException
AMQFrame generateFrame(int channelId)
AMQChannelException getChannelNotFoundException(int channelId, MethodRegistry methodRegistry)
channelId
- The channel id that is not foundmethodRegistry
- AMQChannelException getChannelException(AMQConstant code, String message, MethodRegistry methodRegistry)
AMQConnectionException getConnectionException(AMQConstant code, String message, MethodRegistry methodRegistry)
boolean execute(MethodDispatcher methodDispatcher, int channelId) throws QpidException
QpidException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.