The Assimilation Project  based on Assimilation version 0.5.1441048221
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
listener.c File Reference

Implements the Listener class. class - for listening for incoming FrameSets. More...

#include <projectcommon.h>
#include <memory.h>
#include <glib.h>
#include <frame.h>
#include <frameset.h>
#include <listener.h>
Include dependency graph for listener.c:

Go to the source code of this file.


#define ONESEC   1000000


void _listener_finalize (AssimObj *aself)
 Finalize a Listener. More...
FSTATIC gboolean _listener_got_frameset (Listener *self, FrameSet *fs, NetAddr *addr)
 (not very useful) Function called when a Frame class arrived from the given NetAddr class More...
FSTATIC void _listener_associate (Listener *self, NetGSource *source)
 Associate the given NetGSource with this Listener class.. More...
FSTATIC void _listener_dissociate (Listener *self)
 Associate the current NetGSource from this Listener class.. More...
Listenerlistener_new (ConfigContext *config, gsize objsize)
 Construct a new Listener - setting up GSource and timeout data structures for it. More...

Detailed Description

Implements the Listener class. class - for listening for incoming FrameSets.

This file is part of the Assimilation Project.

Copyright © 2011, 2012 - Alan Robertson
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see

Definition in file listener.c.