|
The Assimilation Monitoring Project
|
The NetGSource class objects integrate NetIO class objects into the g_main_loop paradigm. More...
#include <netgsource.h>

Data Fields | |
| GSource | baseclass |
| Parent GSource Object pointer. More... | |
| GPollFD | _gfd |
| Poll/select object for gmainloop. More... | |
| int | _socket |
| Underlying socket descriptor. More... | |
| gint | _gsourceid |
| Source ID from g_source_attach() More... | |
| gpointer | _userdata |
| Saved user data. More... | |
| GSourceFuncs * | _gsfuncs |
| pointers to GSource functions More... | |
| NetIO * | _netio |
| netio this object is based on More... | |
| GHashTable * | _dispatchers |
| Table of dispatch functions. More... | |
| GDestroyNotify | _finalize |
| Function to call when we're destroyed. More... | |
| void(* | sendaframeset )(NetGSource *, const NetAddr *, FrameSet *) |
| Send a single frameset. More... | |
| void(* | sendframesets )(NetGSource *, const NetAddr *, GSList *) |
| Send a frameset list. More... | |
| void(* | addListener )(NetGSource *, guint16, Listener *) |
| Register a new listener. More... | |
The NetGSource class objects integrate NetIO class objects into the g_main_loop paradigm.
It is a class from which we might eventually make subclasses, and is managed by our C-Class Management system.
Definition at line 43 of file netgsource.h.
| GHashTable* _NetGSource::_dispatchers |
Table of dispatch functions.
Definition at line 51 of file netgsource.h.
Referenced by netgsource_new().
| GDestroyNotify _NetGSource::_finalize |
Function to call when we're destroyed.
Definition at line 52 of file netgsource.h.
Referenced by netgsource_new().
| GPollFD _NetGSource::_gfd |
Poll/select object for gmainloop.
Definition at line 45 of file netgsource.h.
Referenced by netgsource_new().
| GSourceFuncs* _NetGSource::_gsfuncs |
pointers to GSource functions
Definition at line 49 of file netgsource.h.
Referenced by netgsource_new().
| gint _NetGSource::_gsourceid |
Source ID from g_source_attach()
Definition at line 47 of file netgsource.h.
Referenced by netgsource_new().
| NetIO* _NetGSource::_netio |
netio this object is based on
Definition at line 50 of file netgsource.h.
Referenced by _jsondiscovery_send(), _nano_final_shutdown(), _nano_send_rscexitstatus(), _switchdiscovery_dispatch(), fakecma_startup(), nano_initiate_shutdown(), nano_shutdown(), nanoobey_setconfig(), nanoobey_stopexpecthb(), nanoprobe_report_upstream(), netgsource_new(), and shutdown_when_outdone().
| int _NetGSource::_socket |
Underlying socket descriptor.
Definition at line 46 of file netgsource.h.
Referenced by netgsource_new().
| gpointer _NetGSource::_userdata |
| void(* _NetGSource::addListener)(NetGSource *, guint16, Listener *) |
Register a new listener.
Definition at line 55 of file netgsource.h.
Referenced by _authlistener_associate(), _authlistener_dissociate(), main(), nanoobey_expecthb(), and netgsource_new().
| GSource _NetGSource::baseclass |
| void(* _NetGSource::sendaframeset)(NetGSource *, const NetAddr *, FrameSet *) |
Send a single frameset.
Definition at line 53 of file netgsource.h.
Referenced by nano_reqconfig(), and netgsource_new().
| void(* _NetGSource::sendframesets)(NetGSource *, const NetAddr *, GSList *) |
Send a frameset list.
Definition at line 54 of file netgsource.h.
Referenced by netgsource_new(), and cma.tests.cma_test.TestIO::sendreliablefs().