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

def paramiko::channel::Channel::set_name (   self,
  name 
)

Set a name for this channel.  Currently it's only used to set the name
of the log level used for debugging.  The name can be fetched with the
L{get_name} method.

@param name: new channel name.
@type name: str

Definition at line 333 of file channel.py.

00333                             :
        """
        Set a name for this channel.  Currently it's only used to set the name
        of the log level used for debugging.  The name can be fetched with the
        L{get_name} method.

        @param name: new channel name.
        @type name: str
        """
        self.name = name
        self.logger = util.get_logger(self.transport.get_log_channel() + '.' + self.name)

    def get_name(self):


Generated by  Doxygen 1.6.0   Back to index