#include <gtask/gtask-event-dispatcher.h>
#include <gtask/gtask-packet.h>
#include <gtask/gtask-internals.h>
Go to the source code of this file.
Data Structures | |
struct | _WatchInfo |
Typedefs | |
typedef _WatchInfo | WatchInfo |
Functions | |
void | gtask_event_dispatcher_class_init (GTaskEventDispatcherClass *klass) |
void | gtask_event_dispatcher_init (GTaskEventDispatcher *dispatcher, gpointer g_class) |
void | gtask_event_dispatcher_dispose (GObject *obj) |
void | gtask_event_dispatcher_finalize (GObject *obj) |
GType | gtask_event_dispatcher_get_type (void) |
GTaskEventDispatcher * | gtask_event_dispatcher_new_with_parser (GTaskStreamParser *parser) |
Creates a new GTaskEventDispatcher bound to the passed in GTaskStreamParser. | |
guint | gtask_event_dispatcher_add_watch (GTaskEventDispatcher *dispatch, GType watch_type, GTaskEventFunc func, gpointer user_data) |
Adds a new watch to the GTaskEventDispatcher's watch list. Basically whenever the GTaskStreamParser passes back a GObject of GType watch_type your callback routine will be run. | |
void | gtask_event_dispatcher_remove_watch (GTaskEventDispatcher *dispatch, guint watch_id) |
Removes a watch from the passed in GTaskEventDispatcher. | |
GTaskStreamParser * | gtask_event_dispatcher_get_stream_parser (GTaskEventDispatcher *dispatch) |
Returns the GTaskStreamParser for the passed in GTaskEventDispatcher. | |
gboolean | gtask_event_dispatcher_private_parse_callback (GIOChannel *chann, GIOCondition cond, gpointer data) |
This is the callback that is generally run when the input GIOChannel on the GTaskConnection has data to read. | |
Variables | |
gpointer | parent_class |
|
|
|
Definition at line 53 of file gtask-event-dispatcher.c. |
|
Definition at line 76 of file gtask-event-dispatcher.c. |
|
Definition at line 92 of file gtask-event-dispatcher.c. |
|
Definition at line 63 of file gtask-event-dispatcher.c. |
|
Definition at line 13 of file gtask-event-dispatcher.c. |