public static class AMQP.Connection.Start extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
static int |
INDEX |
LongString |
locales
A list of the message locales that the server supports, delimited by spaces.
|
LongString |
mechanisms
A list of the security mechanisms that the server supports, delimited by spaces.
|
private static long |
serialVersionUID |
Map |
serverProperties |
int |
versionMajor
The major version number can take any value from 0 to 99 as defined in
the AMQP specification.
|
int |
versionMinor
The minor version number can take any value from 0 to 99 as defined in
the AMQP specification.
|
channelNumber, logger
Constructor and Description |
---|
Start() |
Start(int versionMajor,
int versionMinor,
Map serverProperties,
LongString mechanisms,
LongString locales)
This method starts the connection negotiation process by telling the client the protocol version that the server proposes, along with a list of security mechanisms which the client can use for authentication.
|
Modifier and Type | Method and Description |
---|---|
int |
getClassId() |
String |
getClassName() |
int |
getMethodId() |
String |
getMethodName() |
void |
readFrom(AMQPInputStream in) |
String |
toString() |
void |
writeTo(AMQPOutputStream out) |
read, toFrame
private static final long serialVersionUID
public int versionMajor
public int versionMinor
public Map serverProperties
public LongString mechanisms
public LongString locales
public static final int INDEX
public Start(int versionMajor, int versionMinor, Map serverProperties, LongString mechanisms, LongString locales)
public Start()
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws IOException, SyntaxErrorException
readFrom
in class AbstractMarshallingMethod
IOException
SyntaxErrorException
public void writeTo(AMQPOutputStream out) throws IOException
writeTo
in class AbstractMarshallingMethod
IOException
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.