org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Connection.Tune
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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()
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