Module proton :: Class Transport
[frames] | no frames]

Class Transport

source code

object --+
         |
        Transport

Instance Methods
 
__init__(self, _trans=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__del__(self) source code
 
bind(self, connection)
Assign a connection to the transport
source code
 
unbind(self)
Release the connection
source code
 
trace(self, n) source code
 
tick(self, now)
Process any timed events (like heartbeat generation).
source code
 
capacity(self) source code
 
push(self, bytes) source code
 
close_tail(self) source code
 
pending(self) source code
 
peek(self, size) source code
 
pop(self, size) source code
 
close_head(self) source code
 
output(self, size) source code
 
input(self, bytes) source code
 
sasl(self) source code
 
ssl(self, domain=None, session_details=None) source code

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

Class Variables
  TRACE_DRV = 4
  TRACE_FRM = 2
  TRACE_RAW = 1
Properties
  max_frame_size
Sets the maximum size for received frames (in bytes).
  remote_max_frame_size
  channel_max
Sets the maximum channel that may be used on the transport.
  remote_channel_max
  idle_timeout
The idle timeout of the connection (float, in seconds).
  remote_idle_timeout
  frames_output
  frames_input

Inherited from object: __class__

Method Details

__init__(self, _trans=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

tick(self, now)

source code 

Process any timed events (like heartbeat generation). now = seconds since epoch (float).


Property Details

max_frame_size

Sets the maximum size for received frames (in bytes).

Get Method:
_get_max_frame_size(self)
Set Method:
_set_max_frame_size(self, value)

remote_max_frame_size

Get Method:
unreachable.remote_max_frame_size(self)

channel_max

Sets the maximum channel that may be used on the transport.

Get Method:
_get_channel_max(self)
Set Method:
_set_channel_max(self, value)

remote_channel_max

Get Method:
unreachable.remote_channel_max(self)

idle_timeout

The idle timeout of the connection (float, in seconds).

Get Method:
_get_idle_timeout(self)
Set Method:
_set_idle_timeout(self, sec)

remote_idle_timeout

Get Method:
unreachable.remote_idle_timeout(self)

frames_output

Get Method:
unreachable.frames_output(self)

frames_input

Get Method:
unreachable.frames_input(self)