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, writePayloadstatic final byte TYPE
int getClazz()
int getMethod()
void writeMethodPayload(DataOutput buffer) throws IOException
IOExceptionint getSize()
AMQBodyvoid writePayload(DataOutput buffer) throws IOException
writePayload in interface AMQBodyIOExceptionAMQFrame 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
QpidExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.