|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rabbitmq.client.impl.Method
com.rabbitmq.client.impl.AMQImpl.Queue.PurgeOk
public static class AMQImpl.Queue.PurgeOk
Field Summary | |
---|---|
static int |
INDEX
|
int |
messageCount
|
Constructor Summary | |
---|---|
AMQImpl.Queue.PurgeOk()
|
|
AMQImpl.Queue.PurgeOk(int messageCount)
|
Method Summary | |
---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuffer acc)
Public API - debugging utility |
int |
getMessageCount()
|
boolean |
hasContent()
Tell if content is present. |
int |
protocolClassId()
Retrieve the protocol class ID |
int |
protocolMethodId()
Retrieve the protocol method ID |
java.lang.String |
protocolMethodName()
Retrieve the method name |
void |
readArgumentsFrom(MethodArgumentReader reader)
Private API - Autogenerated reader for this method. |
java.lang.Object |
visit(AMQImpl.MethodVisitor visitor)
Visitor support (double-dispatch mechanism). |
void |
writeArgumentsTo(MethodArgumentWriter writer)
Private API - Autogenerated writer for this method. |
Methods inherited from class com.rabbitmq.client.impl.Method |
---|
toFrame, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INDEX
public int messageCount
Constructor Detail |
---|
public AMQImpl.Queue.PurgeOk(int messageCount)
public AMQImpl.Queue.PurgeOk()
Method Detail |
---|
public int getMessageCount()
getMessageCount
in interface AMQP.Queue.PurgeOk
public int protocolClassId()
Method
protocolClassId
in interface Method
protocolClassId
in class Method
public int protocolMethodId()
Method
protocolMethodId
in interface Method
protocolMethodId
in class Method
public java.lang.String protocolMethodName()
Method
protocolMethodName
in interface Method
protocolMethodName
in class Method
public boolean hasContent()
Method
hasContent
in class Method
public java.lang.Object visit(AMQImpl.MethodVisitor visitor) throws java.io.IOException
Method
visit
in class Method
visitor
- the visitor object
java.io.IOException
- if an error is encounteredpublic void appendArgumentDebugStringTo(java.lang.StringBuffer acc)
Method
appendArgumentDebugStringTo
in class Method
acc
- the buffer to append debug data topublic void readArgumentsFrom(MethodArgumentReader reader) throws java.io.IOException
Method
readArgumentsFrom
in class Method
reader
- interface to an object to read the method arguments
java.io.IOException
- if an error is encounteredpublic void writeArgumentsTo(MethodArgumentWriter writer) throws java.io.IOException
Method
writeArgumentsTo
in class Method
writer
- interface to an object to write the method arguments
java.io.IOException
- if an error is encountered
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |