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

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

Request a new channel to the server, of type C{"session"}.  This
is just an alias for C{open_channel('session')}.

@return: a new L{Channel} on success, or C{None} if the request is
    rejected or the session ends prematurely.
@rtype: L{Channel}

Definition at line 561 of file transport.py.

00561                           :
        """
        Request a new channel to the server, of type C{"session"}.  This
        is just an alias for C{open_channel('session')}.

        @return: a new L{Channel} on success, or C{None} if the request is
            rejected or the session ends prematurely.
        @rtype: L{Channel}
        """
        return self.open_channel('session')

    def open_channel(self, kind, dest_addr=None, src_addr=None):


Generated by  Doxygen 1.6.0   Back to index