|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rabbitmq.client.impl.Method
public abstract class Method
Base class for AMQP method objects, specialized by autogenerated code in AMQP.java.
Constructor Summary | |
---|---|
Method()
|
Method Summary | |
---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuilder buffer)
Public API - debugging utility |
abstract boolean |
hasContent()
Tell if content is present. |
abstract int |
protocolClassId()
Retrieve the protocol class ID |
abstract int |
protocolMethodId()
Retrieve the protocol method ID |
abstract java.lang.String |
protocolMethodName()
Retrieve the method name |
Frame |
toFrame(int channelNumber)
|
java.lang.String |
toString()
|
abstract java.lang.Object |
visit(AMQImpl.MethodVisitor visitor)
Visitor support (double-dispatch mechanism). |
abstract void |
writeArgumentsTo(MethodArgumentWriter writer)
Private API - Autogenerated writer for this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Method()
Method Detail |
---|
public abstract int protocolClassId()
protocolClassId
in interface Method
public abstract int protocolMethodId()
protocolMethodId
in interface Method
public abstract java.lang.String protocolMethodName()
protocolMethodName
in interface Method
public abstract boolean hasContent()
public abstract java.lang.Object visit(AMQImpl.MethodVisitor visitor) throws java.io.IOException
visitor
- the visitor object
java.io.IOException
- if an error is encounteredpublic abstract void writeArgumentsTo(MethodArgumentWriter writer) throws java.io.IOException
writer
- interface to an object to write the method arguments
java.io.IOException
- if an error is encounteredpublic void appendArgumentDebugStringTo(java.lang.StringBuilder buffer)
buffer
- the buffer to append debug data topublic java.lang.String toString()
toString
in class java.lang.Object
public Frame toFrame(int channelNumber) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |