org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Connection.TuneOk
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Connection.TuneOk
- All Implemented Interfaces:
- FrameBuilder
- 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.
Field Summary |
int |
channelMax
The maximum total number of channels that the client will use per connection. |
int |
frameMax
The largest frame size that the client and server will use for the connection. |
int |
heartbeat
The delay, in seconds, of the connection heartbeat that the client wants. |
static int |
INDEX
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
AMQP.Connection.TuneOk
public AMQP.Connection.TuneOk(int channelMax,
int frameMax,
int heartbeat)
- This method sends the client's connection tuning parameters to the server. Certain fields are negotiated, others provide capability information.
AMQP.Connection.TuneOk
public AMQP.Connection.TuneOk()
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
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved