public static class AMQImpl.Connection.Start extends Method implements AMQP.Connection.Start
AMQP.Connection.Start.Builder
Modifier and Type | Field and Description |
---|---|
static int |
INDEX |
Constructor and Description |
---|
Start(int versionMajor,
int versionMinor,
Map<String,Object> serverProperties,
LongString mechanisms,
LongString locales) |
Start(MethodArgumentReader rdr) |
Modifier and Type | Method and Description |
---|---|
void |
appendArgumentDebugStringTo(StringBuilder acc)
Public API - debugging utility
|
boolean |
equals(Object o) |
LongString |
getLocales() |
LongString |
getMechanisms() |
Map<String,Object> |
getServerProperties() |
int |
getVersionMajor() |
int |
getVersionMinor() |
boolean |
hasContent()
Tell if content is present.
|
int |
hashCode() |
int |
protocolClassId()
Retrieve the protocol class ID
|
int |
protocolMethodId()
Retrieve the protocol method ID
|
String |
protocolMethodName()
Retrieve the method name
|
Object |
visit(AMQImpl.MethodVisitor visitor)
Visitor support (double-dispatch mechanism).
|
void |
writeArgumentsTo(MethodArgumentWriter writer)
Private API - Autogenerated writer for this method.
|
public static final int INDEX
public Start(int versionMajor, int versionMinor, Map<String,Object> serverProperties, LongString mechanisms, LongString locales)
public Start(MethodArgumentReader rdr) throws IOException
IOException
public int getVersionMajor()
getVersionMajor
in interface AMQP.Connection.Start
public int getVersionMinor()
getVersionMinor
in interface AMQP.Connection.Start
public Map<String,Object> getServerProperties()
getServerProperties
in interface AMQP.Connection.Start
public LongString getMechanisms()
getMechanisms
in interface AMQP.Connection.Start
public LongString getLocales()
getLocales
in interface AMQP.Connection.Start
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 String protocolMethodName()
Method
protocolMethodName
in interface Method
protocolMethodName
in class Method
public boolean hasContent()
Method
hasContent
in class Method
public Object visit(AMQImpl.MethodVisitor visitor) throws IOException
Method
visit
in class Method
visitor
- the visitor objectIOException
- if an error is encounteredpublic void appendArgumentDebugStringTo(StringBuilder acc)
Method
appendArgumentDebugStringTo
in class Method
acc
- the buffer to append debug data topublic void writeArgumentsTo(MethodArgumentWriter writer) throws IOException
Method
writeArgumentsTo
in class Method
writer
- interface to an object to write the method argumentsIOException
- if an error is encounteredCopyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.