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

Class Transport

source code


Instance Methods
 
__init__(self, mode=None, _impl=pn_transport) source code
 
log(self, message) source code
 
require_auth(self, bool) source code
 
authenticated(self) source code
 
require_encryption(self, bool) source code
 
encrypted(self) source code
 
user(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, binary) 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
 
closed(self) source code
 
remote_max_frame_size(self) source code
 
remote_channel_max(self) source code
 
remote_idle_timeout(self) source code
 
frames_output(self) source code
 
frames_input(self) source code
 
sasl(self) source code
 
ssl(self, domain=None, session_details=None) source code
 
condition(self) source code
 
connection(self) source code

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

Static Methods
 
wrap(impl) source code
Class Variables
  TRACE_OFF = PN_TRACE_OFF
  TRACE_DRV = PN_TRACE_DRV
  TRACE_FRM = PN_TRACE_FRM
  TRACE_RAW = PN_TRACE_RAW
  CLIENT = 1
  SERVER = 2
  tracer = property(_get_tracer, _set_tracer, doc= ...
  max_frame_size = property(_get_max_frame_size, _set_max_frame_...
  channel_max = property(_get_channel_max, _set_channel_max, doc...
  idle_timeout = property(_get_idle_timeout, _set_idle_timeout, ...
Method Details

__init__(self, mode=None, _impl=pn_transport)
(Constructor)

source code 
Overrides: wrapper.Wrapper.__init__

authenticated(self)

source code 
Decorators:
  • @property

encrypted(self)

source code 
Decorators:
  • @property

user(self)

source code 
Decorators:
  • @property

tick(self, now)

source code 

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

closed(self)

source code 
Decorators:
  • @property

remote_max_frame_size(self)

source code 
Decorators:
  • @property

remote_channel_max(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

condition(self)

source code 
Decorators:
  • @property

connection(self)

source code 
Decorators:
  • @property

Class Variable Details

tracer

Value:
property(_get_tracer, _set_tracer, doc= """
A callback for trace logging. The callback is passed the transport and\
 log message.
""")

max_frame_size

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

channel_max

Value:
property(_get_channel_max, _set_channel_max, doc= """
Sets the maximum channel that may be used on the transport.
""")

idle_timeout

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