Class AMQP.Connection.StartOk
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- org.ow2.joram.mom.amqp.marshalling.AMQP.Connection.StartOk
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AMQP.Connection
public static class AMQP.Connection.StartOk extends AbstractMarshallingMethod
This method selects a SASL security mechanism.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MapclientPropertiesstatic intINDEXStringlocaleA single message locale selected by the client, which must be one of those specified by the server.StringmechanismA single security mechanisms selected by the client, which must be one of those specified by the server.LongStringresponseA block of opaque data passed to the security mechanism.private static longserialVersionUID-
Fields inherited from class org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
channelNumber
-
-
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
-
clientProperties
public Map clientProperties
-
mechanism
public String mechanism
A single security mechanisms selected by the client, which must be one of those specified by the server.
-
response
public LongString response
A block of opaque data passed to the security mechanism. The contents of this data are defined by the SASL security mechanism.
-
locale
public String locale
A single message locale selected by the client, which must be one of those specified by the server.
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StartOk
public StartOk(Map clientProperties, String mechanism, LongString response, String locale)
This method selects a SASL security mechanism.
-
StartOk
public StartOk()
-
-
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
-
-