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

Class Transport

source code

     object --+    
              |    
wrapper.Wrapper --+
                  |
                 Transport

Instance Methods
 
__init__(self, mode=None, _impl=<built-in function pn_transport>)
x.__init__(...) initializes x; see help(type(x)) for signature
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
 
sasl(self) source code
 
ssl(self, domain=None, session_details=None) source code

Inherited from wrapper.Wrapper: __cmp__, __del__, __delattr__, __getattr__, __hash__, __repr__, __setattr__

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

Static Methods
 
wrap(impl) source code
Class Variables
  TRACE_OFF = 0
  TRACE_DRV = 4
  TRACE_FRM = 2
  TRACE_RAW = 1
  CLIENT = 1
  SERVER = 2
Properties
  closed
  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
  condition
  connection

Inherited from object: __class__

Method Details

__init__(self, mode=None, _impl=<built-in function pn_transport>)
(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

closed

Get Method:
unreachable.closed(self)

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)

condition

Get Method:
unreachable.condition(self)

connection

Get Method:
unreachable.connection(self)