daemon/core/broker.py
def delserver(self, name):
        ''' Remove a server and hang up any connection.
        '''
        self.servers_lock.acquire()
        if name not in self.servers:
            self.servers_lock.release()
            return
        (host, port, sock) = self.servers.pop(name)
        if sock is not None:
            if self.verbose:
                self.session.info("closing connection with %s @ %s:%s" % \
                                  (name, host, port))
            sock.close()
        self.servers_lock.release()
 Remove a server and hang up any connection.
        
Remove a server and hang up any connection.
Remove a server and hang up any connection .
def delserver(self, name):
        self.servers_lock.acquire()
        if name not in self.servers:
            self.servers_lock.release()
            return
        (host, port, sock) = self.servers.pop(name)
        if sock is not None:
            if self.verbose:
                self.session.info("closing connection with %s @ %s:%s" % \
                                  (name, host, port))
            sock.close()
        self.servers_lock.release()
def delserver ( self , name ) : self . servers_lock . acquire ( ) if name not in self . servers : self . servers_lock . release ( ) return ( host , port , sock ) = self . servers . pop ( name ) if sock is not None : if self . verbose : self . session . info ( "closing connection with %s @ %s:%s" % ( name , host , port ) ) sock . close ( ) self . servers_lock . release ( )
Remove a server and hang up any connection.
Remove a server and hang up any connection .
''' Remove a server and hang up any connection.
        '''
self
name