Joram 5.2.4

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

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
      extended by 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
           
 
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
logger, NULL_METHOD_ID
 
Constructor Summary
AMQP.Connection.TuneOk()
           
AMQP.Connection.TuneOk(int channelMax, int frameMax, int heartbeat)
          This method sends the client's connection tuning parameters to the server.
 
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

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
Constructor Detail

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()
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