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

Events are stored in a prefix tree for fast, nice lookups. More...

#include <evs.h>

Public Attributes

gchar * ev_path
 The event path for this node.
 
evs_handler_fn handler_fn
 Function called when client sends event to the server.
 
evs_on_fn on_fn
 Called when client attempts to subscribe to event.
 
evs_off_fn off_fn
 Called when client unsubscribes from event.
 
gboolean handle_children
 If this event wants to handle all children paths.
 
GHashTable * subs
 All of the children subscriptions to this event, referenced by extra path segments. More...
 
GRWLock subs_lock
 Lock for subs.
 

Detailed Description

Events are stored in a prefix tree for fast, nice lookups.

Member Data Documentation

GHashTable* event::subs

All of the children subscriptions to this event, referenced by extra path segments.

Note
"" as ev_extra is the root event

Mapping: ev_extra -> struct subscription


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