Class AMQP.Connection.Tune
- java.lang.Object
-
- org.ow2.joram.mom.amqp.marshalling.AbstractMarshallingMethod
-
- org.ow2.joram.mom.amqp.marshalling.AMQP.Connection.Tune
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AMQP.Connection
public static class AMQP.Connection.Tune extends AbstractMarshallingMethod
This method proposes a set of connection configuration values to the client. The client can accept and/or adjust these.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intchannelMaxSpecifies highest channel number that the server permits.intframeMaxThe largest frame size that the server proposes for the connection, including frame header and end-byte.intheartbeatThe delay, in seconds, of the connection heartbeat that the server 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
Specifies highest channel number that the server permits. Usable channel numbers are in the range 1..channel-max. Zero indicates no specified limit.
-
frameMax
public int frameMax
The largest frame size that the server proposes for the connection, including frame header and end-byte. The client can negotiate a lower value. Zero means that the server does not impose any specific limit but may reject very large frames if it cannot allocate resources for them.
-
heartbeat
public int heartbeat
The delay, in seconds, of the connection heartbeat that the server wants. Zero means the server 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
-
-