(self, client_id, pid)
Set a pid to a client
Set a pid to a client
Set a pid to a client
def set_pid(self, client_id, pid):
        """ Set a pid to a client
        """
        self.log.debug(u"Try to set the pid : {0} => {1}".format(client_id, pid))
        self._clients[client_id]['pid'] = pid
        self._clients_with_details[client_id]['pid'] = pid
        self.log.info(u"Pid set : {0} => {1}".format(client_id, pid))
        self.publish_update()
def set_pid ( self , client_id , pid ) : self . log . debug ( u"Try to set the pid : {0} => {1}" . format ( client_id , pid ) ) self . _clients [ client_id ] [ 'pid' ] = pid self . _clients_with_details [ client_id ] [ 'pid' ] = pid self . log . info ( u"Pid set : {0} => {1}" . format ( client_id , pid ) ) self . publish_update ( )