Lines Matching defs:connection
29 from . import connection
87 Send a message to manager using connection `c` and return response
199 connection.deliver_challenge(c, self.authkey)
200 connection.answer_challenge(c, self.authkey)
228 Handle a new connection
417 Spawn a new thread to serve this connection
484 'pickle' : (connection.Listener, connection.Client),
485 'xmlrpclib' : (connection.XmlListener, connection.XmlClient)
553 reader, writer = connection.Pipe(duplex=False)
767 # self._tls is used to record the connection used by this
801 util.debug('making connection to manager')
807 self._tls.connection = conn
814 conn = self._tls.connection
816 util.debug('thread %r does not own a connection',
819 conn = self._tls.connection
882 # check whether we can close this thread's connection because
884 if not idset and hasattr(tls, 'connection'):
887 tls.connection.close()
888 del tls.connection