The Assimilation Monitoring Project
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
listener.h
Go to the documentation of this file.
1
26
#ifndef _LISTENER_H
27
#define _LISTENER_H
28
#include <
projectcommon.h
>
29
#include <
assimobj.h
>
30
#include <
netaddr.h
>
31
#include <
frameset.h
>
32
#include <
configcontext.h
>
33
typedef
struct
_Listener
Listener
;
34
#include <
netgsource.h
>
35
38
//typedef struct _Listener Listener;
39
41
struct
_Listener
{
42
AssimObj
baseclass
;
43
ConfigContext
*
config
;
44
NetGSource
*
transport
;
45
gboolean (*
got_frameset
)(
Listener
*
self
,
46
FrameSet
* fs,
47
NetAddr
* na
48
);
49
void (*
associate
) (
Listener
*
self
,
50
NetGSource
* source);
51
void (*
dissociate
) (
Listener
*
self
);
52
};
53
54
WINEXPORT
Listener
*
listener_new
(
ConfigContext
*
config
, gsize listen_objsize);
55
#ifdef IS_LISTENER_SUBCLASS
56
WINEXPORT
void
_listener_finalize
(
AssimObj
*
self
);
57
#endif
58
60
61
#endif
/* _LISTENER_H */
src
include
listener.h
Generated on Thu May 23 2013 20:58:08 for The Assimilation Monitoring Project by
1.8.3.1