QuickIO  0.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
subscription Struct Reference

Events are what are located at the paths, whereas subscriptions are what are located at ev_path + ev_extra (ev_extra may == ""), and these are what you can actually broadcast and send events to. More...

#include <sub.h>

Public Attributes

struct eventev
 The event that this sub belongs to.
 
gchar * ev_extra
 To allow a way to remove sub from ev->subs.
 
qev_list_tsubscribers
 All of the clients currently listening for this event.
 
guint refs
 Reference count to allow unlocked operations when dealing with subscriptions. More...
 

Detailed Description

Events are what are located at the paths, whereas subscriptions are what are located at ev_path + ev_extra (ev_extra may == ""), and these are what you can actually broadcast and send events to.

Member Data Documentation

guint subscription::refs

Reference count to allow unlocked operations when dealing with subscriptions.

This number technically represents the total number of clients subscribed and the number of outstanding references to the subscription. This allows a quick way to determine simultaneously if the list is empty and no one has a reference anymore.


The documentation for this struct was generated from the following file: