dcrud  0.0.0
Distributed data and services
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
IRegistry.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef __cplusplus
3 extern "C" {
4 #endif
5 
6 #include <io/InetSocketAddress.h>
7 #include <coll/Set.h>
8 
9 UTIL_ADT( dcrudIRegistry );
10 
11 typedef collSet ( * dcrudIRegistry_getParticipants_t )( void * userContext );
12 typedef collSet ( * dcrudIRegistry_getClients_t )( void * userContext, const char * interfaceName );
13 typedef collSet ( * dcrudIRegistry_getConsumers_t )( void * userContext, const char * dataName );
14 
15 dcrudIRegistry dcrudIRegistry_new(
16  void * userContext,
17  dcrudIRegistry_getParticipants_t getParticipants,
18  dcrudIRegistry_getClients_t getClients,
19  dcrudIRegistry_getConsumers_t getConsumers );
20 
21 void dcrudIRegistry_delete( dcrudIRegistry * This );
22 
23 collSet dcrudIRegistry_getParticipants( dcrudIRegistry This );
24 collSet dcrudIRegistry_getClients ( dcrudIRegistry This, const char * interfaceName );
25 collSet dcrudIRegistry_getConsumers ( dcrudIRegistry This, const char * dataName );
26 
27 #ifdef __cplusplus
28 }
29 #endif
collSet(* dcrudIRegistry_getClients_t)(void *userContext, const char *interfaceName)
Definition: IRegistry.h:12
collSet dcrudIRegistry_getParticipants(dcrudIRegistry This)
collSet(* dcrudIRegistry_getConsumers_t)(void *userContext, const char *dataName)
Definition: IRegistry.h:13
collSet(* dcrudIRegistry_getParticipants_t)(void *userContext)
Definition: IRegistry.h:11
collSet dcrudIRegistry_getClients(dcrudIRegistry This, const char *interfaceName)
dcrudIRegistry dcrudIRegistry_new(void *userContext, dcrudIRegistry_getParticipants_t getParticipants, dcrudIRegistry_getClients_t getClients, dcrudIRegistry_getConsumers_t getConsumers)
void dcrudIRegistry_delete(dcrudIRegistry *This)
collSet dcrudIRegistry_getConsumers(dcrudIRegistry This, const char *dataName)
UTIL_ADT(dcrudIRegistry)