Class AMQP.Connection.Start
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- org.ow2.joram.mom.amqp.marshalling.AMQP.Connection.Start
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AMQP.Connection
public static class AMQP.Connection.Start extends AbstractMarshallingMethod
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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intINDEXLongStringlocalesA list of the message locales that the server supports, delimited by spaces.LongStringmechanismsA list of the security mechanisms that the server supports, delimited by spaces.private static longserialVersionUIDMapserverPropertiesintversionMajorThe major version number can take any value from 0 to 99 as defined in the AMQP specification.intversionMinorThe minor version number can take any value from 0 to 99 as defined in the AMQP specification.-
Fields inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
channelNumber
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClassId()StringgetClassName()intgetMethodId()StringgetMethodName()voidreadFrom(AMQPInputStream in)StringtoString()voidwriteTo(AMQPOutputStream out)-
Methods inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
read, toFrame
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
versionMajor
public int versionMajor
The major version number can take any value from 0 to 99 as defined in the AMQP specification.
-
versionMinor
public int versionMinor
The minor version number can take any value from 0 to 99 as defined in the AMQP specification.
-
serverProperties
public Map serverProperties
-
mechanisms
public LongString mechanisms
A list of the security mechanisms that the server supports, delimited by spaces.
-
locales
public LongString locales
A list of the message locales that the server supports, delimited by spaces. The locale defines the language in which the server will send reply texts.
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Start
public 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.
-
Start
public Start()
-
-
Method Detail
-
getMethodId
public int getMethodId()
- Specified by:
getMethodIdin classAbstractMarshallingMethod
-
getMethodName
public String getMethodName()
- Specified by:
getMethodNamein classAbstractMarshallingMethod
-
getClassId
public int getClassId()
- Specified by:
getClassIdin classAbstractMarshallingMethod
-
getClassName
public String getClassName()
- Specified by:
getClassNamein classAbstractMarshallingMethod
-
readFrom
public void readFrom(AMQPInputStream in) throws IOException, SyntaxErrorException
- Specified by:
readFromin classAbstractMarshallingMethod- Throws:
IOExceptionSyntaxErrorException
-
writeTo
public void writeTo(AMQPOutputStream out) throws IOException
- Specified by:
writeToin classAbstractMarshallingMethod- Throws:
IOException
-
-