Joram 5.2.4

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

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
      extended by org.objectweb.joram.mom.amqp.marshalling.AMQP.Connection.Tune
All Implemented Interfaces:
FrameBuilder
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.


Field Summary
 int channelMax
          Specifies highest channel number that the server permits.
 int frameMax
          The largest frame size that the server proposes for the connection, including frame header and end-byte.
 int heartbeat
          The delay, in seconds, of the connection heartbeat that the server wants.
static int INDEX
           
 
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
logger, NULL_METHOD_ID
 
Constructor Summary
AMQP.Connection.Tune()
           
AMQP.Connection.Tune(int channelMax, int frameMax, int heartbeat)
          This method proposes a set of connection configuration values to the client.
 
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
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
Constructor Detail

AMQP.Connection.Tune

public AMQP.Connection.Tune(int channelMax,
                            int frameMax,
                            int heartbeat)
This method proposes a set of connection configuration values to the client. The client can accept and/or adjust these.


AMQP.Connection.Tune

public AMQP.Connection.Tune()
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