public abstract class Method extends java.lang.Object implements Method
Constructor and Description |
---|
Method() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 objectjava.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 argumentsjava.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