Package proton :: Module utils :: Class BlockingConnection
[frames] | no frames]

type BlockingConnection

source code

object --+    
         |    
   Handler --+
             |
            BlockingConnection

A synchronous style connection wrapper.

Instance Methods
 
__init__(self, url, timeout=None, container=None, ssl_domain=None, heartbeat=None) source code
 
create_sender(self, address, handler=None, name=None, options=None) source code
 
create_receiver(self, address, credit=None, dynamic=False, handler=None, name=None, options=None) source code
 
close(self) source code
 
run(self)
Hand control over to the event loop (e.g.
source code
 
wait(self, condition, timeout=False, msg=None)
Call process until condition() is true
source code
 
on_link_remote_close(self, event) source code
 
on_connection_remote_close(self, event) source code
 
on_transport_tail_closed(self, event) source code
 
on_transport_head_closed(self, event) source code
 
on_transport_closed(self, event) source code

Inherited from Handler: handlers, on_unhandled

Method Details

__init__(self, url, timeout=None, container=None, ssl_domain=None, heartbeat=None)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

run(self)

source code 

Hand control over to the event loop (e.g. if waiting indefinitely for incoming messages)