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

def paramiko::transport::Transport::close (   self  ) 

Close this session, and any open channels that are tied to it.

Definition at line 520 of file transport.py.

00520                    :
        """
        Close this session, and any open channels that are tied to it.
        """
        self.active = False
        # since this may be called from __del__, can't assume any attributes exist
        try:
            self.packetizer.close()
            for chan in self.channels.values():
                chan._unlink()
        except AttributeError:
            pass

    def get_remote_server_key(self):


Generated by  Doxygen 1.6.0   Back to index