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) source code
 
trace(self, n) source code
 
tick(self, now) 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
 
remote_max_frame_size(self) source code
 
remote_idle_timeout(self) source code
 
frames_output(self) source code
 
frames_input(self) source code

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

Class Variables
  TRACE_DRV = PN_TRACE_DRV
  TRACE_FRM = PN_TRACE_FRM
  TRACE_RAW = PN_TRACE_RAW
  max_frame_size = property(_get_max_frame_size, _set_max_frame_...
  idle_timeout = property(_get_idle_timeout, _set_idle_timeout, ...
Properties

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)

remote_max_frame_size(self)

source code 
Decorators:
  • @property

remote_idle_timeout(self)

source code 
Decorators:
  • @property

frames_output(self)

source code 
Decorators:
  • @property

frames_input(self)

source code 
Decorators:
  • @property

Class Variable Details

max_frame_size

Value:
property(_get_max_frame_size, _set_max_frame_size, doc= """
Sets the maximum size for received frames (in bytes).
""")

idle_timeout

Value:
property(_get_idle_timeout, _set_idle_timeout, doc= """
The idle timeout of the connection (in milliseconds).
""")