Package qpid :: Module ops :: Class ConnectionTune
[frames] | no frames]

Class ConnectionTune

object --+        
         |        
  Compound --+    
             |    
       Control --+
                 |
                ConnectionTune

This control proposes a set of connection configuration values to the
client. The client can accept and/or adjust these.

  channel_max -- proposed maximum channels

    The maximum total number of channels that the server allows per
    connection. If this is not set it means that the server does not
    impose a fixed limit, but the number of allowed channels may be
    limited by available server resources.

  max_frame_size -- proposed maximum frame size

    The largest frame size that the server proposes for the
    connection. The client can negotiate a lower value. If this is not
    set means that the server does not impose any specific limit but
    may reject very large frames if it cannot allocate resources for
    them.

  heartbeat_min -- the minimum supported heartbeat delay

    The minimum delay, in seconds, of the connection heartbeat
    supported by the server. If this is not set it means the server
    does not support sending heartbeats.

  heartbeat_max -- the maximum supported heartbeat delay

    The maximum delay, in seconds, of the connection heartbeat
    supported by the server. If this is not set it means the server
    has no maximum.

Instance Methods

Inherited from Compound: __getitem__, __init__, __repr__, __setitem__, args, dispatch, fields

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  ARGS = [channel_max: uint16, max_frame_size: uint16, heartbeat...
  CODE = 261
  FIELDS = [channel_max: uint16, max_frame_size: uint16, heartbe...
  NAME = 'connection_tune'
  PACK = 2
  SIZE = 0

Inherited from Control: UNENCODED

Properties

Inherited from object: __class__

Class Variable Details

ARGS

Value:
[channel_max: uint16,
 max_frame_size: uint16,
 heartbeat_min: uint16,
 heartbeat_max: uint16,
 channel: uint16]

FIELDS

Value:
[channel_max: uint16,
 max_frame_size: uint16,
 heartbeat_min: uint16,
 heartbeat_max: uint16]