FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kLocalDiscovery.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_LOCAL_DISCOVERY_H
9 #define K_FIRESYNC_LOCAL_DISCOVERY_H
10 
12 
13 kBeginHeader()
14 
15 
23 //typedef kObject kLocalDiscovery; --forward-declared in kFsDef.x.h
24 
25 
31 kFsFx(kStatus) kLocalDiscovery_Construct(kLocalDiscovery* discovery, kSystem system, kAlloc allocator);
32 
33 kFsFx(kStatus) kLocalDiscovery_SetMessageAlloc(kLocalDiscovery discovery, kAlloc alloc);
34 
35 kFsFx(kStatus) kLocalDiscovery_AddNode(kLocalDiscovery discovery, k32u nodeId, kHealth health, const kChar* storagePath);
36 kFsFx(kStatus) kLocalDiscovery_RemoveNode(kLocalDiscovery discovery, k32u nodeId);
37 
38 kFsFx(kStatus) kLocalDiscovery_FindDataEndPoint(kLocalDiscovery discovery, k32u nodeId, kIpAddress* address, k32u* port);
39 
40 kEndHeader()
41 
42 #include <kFireSync/Local/kLocalDiscovery.x.h>
43 
44 #endif
Base class for a health statistics collection service.
Declares the kDiscoveryProvider interface.
Represents a collection of FireSync nodes (sensors).