def _handle_ping(client, topic, dct):
        """Internal method that will be called when receiving ping message."""
        if dct['type'] == 'request':
            resp = {
                'type': 'answer',
                'name': client.name,
                'source': dct
            }

            client.publish('ping', resp)
Internal method that will be called when receiving ping message.