def mass_send_message(self, msg):
        """Send a message to all connected clients.

        Notes
        -----
        This method can only be called in the IOLoop thread.

        """
        for stream in self._connections.keys():
            if not stream.closed():
                # Don't cause noise by trying to write to already closed streams
                self.send_message(stream, msg)
def mass_send_message ( self , msg ) : for stream in self . _connections . keys ( ) : if not stream . closed ( ) : self . send_message ( stream , msg )
Send a message to all connected clients.

        Notes
        -----
        This method can only be called in the IOLoop thread.