Class AMQP.Connection.TuneOk
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- org.ow2.joram.mom.amqp.marshalling.AMQP.Connection.TuneOk
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AMQP.Connection
public static class AMQP.Connection.TuneOk extends AbstractMarshallingMethod
This method sends the client's connection tuning parameters to the server. Certain fields are negotiated, others provide capability information.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intchannelMaxThe maximum total number of channels that the client will use per connection.intframeMaxThe largest frame size that the client and server will use for the connection.intheartbeatThe delay, in seconds, of the connection heartbeat that the client wants.static intINDEXprivate 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
-
channelMax
public int channelMax
The maximum total number of channels that the client will use per connection.
-
frameMax
public int frameMax
The largest frame size that the client and server will use for the connection. Zero means that the client does not impose any specific limit but may reject very large frames if it cannot allocate resources for them. Note that the frame-max limit applies principally to content frames, where large contents can be broken into frames of arbitrary size.
-
heartbeat
public int heartbeat
The delay, in seconds, of the connection heartbeat that the client wants. Zero means the client does not want a heartbeat.
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
-
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
- Specified by:
readFromin classAbstractMarshallingMethod- Throws:
IOException
-
writeTo
public void writeTo(AMQPOutputStream out) throws IOException
- Specified by:
writeToin classAbstractMarshallingMethod- Throws:
IOException
-
-