public static class AMQImpl.Connection.StartOk extends Method implements AMQP.Connection.StartOk
AMQP.Connection.StartOk.Builder
Modifier and Type | Field and Description |
---|---|
static int |
INDEX |
Constructor and Description |
---|
StartOk(java.util.Map<java.lang.String,java.lang.Object> clientProperties,
java.lang.String mechanism,
LongString response,
java.lang.String locale) |
StartOk(MethodArgumentReader rdr) |
Modifier and Type | Method and Description |
---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuilder acc)
Public API - debugging utility
|
java.util.Map<java.lang.String,java.lang.Object> |
getClientProperties() |
java.lang.String |
getLocale() |
java.lang.String |
getMechanism() |
LongString |
getResponse() |
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
|
java.lang.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 StartOk(java.util.Map<java.lang.String,java.lang.Object> clientProperties, java.lang.String mechanism, LongString response, java.lang.String locale)
public StartOk(MethodArgumentReader rdr) throws java.io.IOException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.Object> getClientProperties()
getClientProperties
in interface AMQP.Connection.StartOk
public java.lang.String getMechanism()
getMechanism
in interface AMQP.Connection.StartOk
public LongString getResponse()
getResponse
in interface AMQP.Connection.StartOk
public java.lang.String getLocale()
getLocale
in interface AMQP.Connection.StartOk
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
public void appendArgumentDebugStringTo(java.lang.StringBuilder acc)
Method
appendArgumentDebugStringTo
in class Method
acc
- the buffer to append debug data topublic void writeArgumentsTo(MethodArgumentWriter writer) throws java.io.IOException
Method
writeArgumentsTo
in class Method
writer
- interface to an object to write the method argumentsjava.io.IOException
- if an error is encountered