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

def paramiko::channel::Channel::__repr__ (   self  ) 

Return a string representation of this object, for debugging.

@rtype: str

Definition at line 98 of file channel.py.

00098                       :
        """
        Return a string representation of this object, for debugging.

        @rtype: str
        """
        out = '<paramiko.Channel %d' % self.chanid
        if self.closed:
            out += ' (closed)'
        elif self.active:
            if self.eof_received:
                out += ' (EOF received)'
            if self.eof_sent:
                out += ' (EOF sent)'
            out += ' (open) window=%d' % (self.out_window_size)
            if len(self.in_buffer) > 0:
                out += ' in-buffer=%d' % (len(self.in_buffer),)
        out += ' -> ' + repr(self.transport)
        out += '>'
        return out

    def get_pty(self, term='vt100', width=80, height=24):


Generated by  Doxygen 1.6.0   Back to index