def on_callback(self, callback, *args):
raise NotImplementedError<EOL>
Called from the callback thread when an event is received.

        :param callable callback: The callback function to call.
        :param args: The arguments to pass to the callback.