(self, server_address, topology_id)
Publish a ServerClosedEvent to all server listeners.

        :Parameters:
         - `server_address`: The address (host/port pair) of the server.
         - `topology_id`: A unique identifier for the topology this server
           is a part of.
Publish a ServerClosedEvent to all server listeners.
Publish a ServerClosedEvent to all server listeners .
def publish_server_closed(self, server_address, topology_id):
        """Publish a ServerClosedEvent to all server listeners.

        :Parameters:
         - `server_address`: The address (host/port pair) of the server.
         - `topology_id`: A unique identifier for the topology this server
           is a part of.
        """
        event = ServerClosedEvent(server_address, topology_id)
        for subscriber in self.__server_listeners:
            try:
                subscriber.closed(event)
            except Exception:
                _handle_exception()
def publish_server_closed ( self , server_address , topology_id ) : event = ServerClosedEvent ( server_address , topology_id ) for subscriber in self . __server_listeners : try : subscriber . closed ( event ) except Exception : _handle_exception ( )