|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AMQMethodBody
Field Summary | |
---|---|
static byte |
TYPE
|
Method Summary | |
---|---|
boolean |
execute(MethodDispatcher methodDispatcher,
int channelId)
|
AMQFrame |
generateFrame(int channelId)
|
AMQChannelException |
getChannelException(AMQConstant code,
String message)
|
AMQChannelException |
getChannelException(AMQConstant code,
String message,
Throwable cause)
|
AMQChannelException |
getChannelNotFoundException(int channelId)
Convenience Method to create a channel not found exception |
int |
getClazz()
|
AMQConnectionException |
getConnectionException(AMQConstant code,
String message)
|
AMQConnectionException |
getConnectionException(AMQConstant code,
String message,
Throwable cause)
|
byte |
getMajor()
AMQP version |
int |
getMethod()
|
byte |
getMinor()
|
int |
getSize()
Get the size of the body |
String |
toString()
|
void |
writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
|
void |
writePayload(org.apache.mina.common.ByteBuffer buffer)
|
Methods inherited from interface org.apache.qpid.framing.AMQBody |
---|
getFrameType, handle |
Field Detail |
---|
static final byte TYPE
Method Detail |
---|
byte getMajor()
byte getMinor()
int getClazz()
int getMethod()
void writeMethodPayload(org.apache.mina.common.ByteBuffer buffer)
int getSize()
AMQBody
getSize
in interface AMQBody
void writePayload(org.apache.mina.common.ByteBuffer buffer)
writePayload
in interface AMQBody
AMQFrame generateFrame(int channelId)
String toString()
toString
in class Object
AMQChannelException getChannelNotFoundException(int channelId)
channelId
- The channel id that is not found
AMQChannelException getChannelException(AMQConstant code, String message)
AMQChannelException getChannelException(AMQConstant code, String message, Throwable cause)
AMQConnectionException getConnectionException(AMQConstant code, String message)
AMQConnectionException getConnectionException(AMQConstant code, String message, Throwable cause)
boolean execute(MethodDispatcher methodDispatcher, int channelId) throws AMQException
AMQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |