Joram 5.2.4

org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Connection.Start

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
      extended by org.objectweb.joram.mom.amqp.marshalling.AMQP.Connection.Start
All Implemented Interfaces:
FrameBuilder
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.


Field Summary
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.
 java.util.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.
 
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
logger, NULL_METHOD_ID
 
Constructor Summary
AMQP.Connection.Start()
           
AMQP.Connection.Start(int versionMajor, int versionMinor, java.util.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
 int getClassId()
           
 java.lang.String getClassName()
           
 int getMethodId()
           
 java.lang.String getMethodName()
           
 void readFrom(AMQPInputStream in)
           
 java.lang.String toString()
           
 void writeTo(AMQPOutputStream out)
           
 
Methods inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
read, toFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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 java.util.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

AMQP.Connection.Start

public AMQP.Connection.Start(int versionMajor,
                             int versionMinor,
                             java.util.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.


AMQP.Connection.Start

public AMQP.Connection.Start()
Method Detail

getMethodId

public int getMethodId()
Specified by:
getMethodId in class AbstractMarshallingMethod

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in class AbstractMarshallingMethod

getClassId

public int getClassId()
Specified by:
getClassId in class AbstractMarshallingMethod

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in class AbstractMarshallingMethod

readFrom

public void readFrom(AMQPInputStream in)
              throws java.io.IOException
Specified by:
readFrom in class AbstractMarshallingMethod
Throws:
java.io.IOException

writeTo

public void writeTo(AMQPOutputStream out)
             throws java.io.IOException
Specified by:
writeTo in class AbstractMarshallingMethod
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Joram 5.2.4

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved