public abstract class Method extends Object implements Method
Constructor and Description |
---|
Method() |
Modifier and Type | Method and Description |
---|---|
void |
appendArgumentDebugStringTo(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 String |
protocolMethodName()
Retrieve the method name
|
Frame |
toFrame(int channelNumber) |
String |
toString() |
abstract 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 String protocolMethodName()
protocolMethodName
in interface Method
public abstract boolean hasContent()
public abstract Object visit(AMQImpl.MethodVisitor visitor) throws IOException
visitor
- the visitor objectIOException
- if an error is encounteredpublic abstract void writeArgumentsTo(MethodArgumentWriter writer) throws IOException
writer
- interface to an object to write the method argumentsIOException
- if an error is encounteredpublic void appendArgumentDebugStringTo(StringBuilder buffer)
buffer
- the buffer to append debug data topublic Frame toFrame(int channelNumber) throws IOException
IOException
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.