Logo Search packages:      
Sourcecode: paramiko version File versions  Download package

def paramiko::transport::Transport::_send_user_message (   self,
  data 
) [private]

send a message, but block if we're in key negotiation.  this is used
for user-initiated requests.

Definition at line 1214 of file transport.py.

01214                                       :
        """
        send a message, but block if we're in key negotiation.  this is used
        for user-initiated requests.
        """
        while True:
            self.clear_to_send.wait(0.1)
            if not self.active:
                self._log(DEBUG, 'Dropping user packet because connection is dead.')
                return
            self.clear_to_send_lock.acquire()
            if self.clear_to_send.isSet():
                break
            self.clear_to_send_lock.release()
        try:
            self._send_message(data)
        finally:
            self.clear_to_send_lock.release()

    def _set_K_H(self, k, h):


Generated by  Doxygen 1.6.0   Back to index