Consumer

    Broadcast

    Description:

    Defines the topic consumer used to receive events and push data. You need to implement this struct for your application.

    Summary

    Details

    Equal

    Description:

    Checks whether two consumers are equal.

    You need to implement this function to prevent repeated topic subscription.

    Parameters:

    Returns TRUE if the two consumers are equal; returns FALSE otherwise.

    Description:

    Consumer ID

    Notify

    Description:

    Defines how the consumer will process the events or data of a released topic.

    You can implement this function for consumers to process topics associated with the them. Note that the passed topic must have been subscribed by the consumer. Otherwise, the function does nothing.

    Parameters: