ConnectedEntity structures and functions. More...
#include <razorback/visibility.h>
#include <razorback/types.h>
#include <razorback/messages.h>
#include <time.h>
Go to the source code of this file.
Data Structures | |
struct | DispatcherEntity |
Dispatcher Entity Extension. More... | |
struct | ConnectedEntity |
Entity participating in a razorback cloud. More... | |
Functions | |
SO_PUBLIC bool | ConnectedEntityList_Update (struct Message *message) |
Updates the timestamp an entry in the list. | |
SO_PUBLIC uint32_t | ConnectedEntityList_Count (void) |
Counts the number of entries in the list. | |
SO_PUBLIC void | ConnectedEntity_Destroy (struct ConnectedEntity *entity) |
SO_PUBLIC bool | ConnectedEntityList_AddPruneListener (void(*entityRemoved)(struct ConnectedEntity *entity, uint32_t remainingCount)) |
SO_PUBLIC bool | ConnectedEntityList_ForEach_Entity (int(*function)(struct ConnectedEntity *, void *), void *userData) |
SO_PUBLIC struct ConnectedEntity * | ConnectedEntityList_GetDedicatedDispatcher (void) |
SO_PUBLIC struct ConnectedEntity * | ConnectedEntityList_GetDispatcher_HighestPriority () |
SO_PUBLIC bool | ConnectedEntityList_SlaveInLocality (uint8_t locality) |
ConnectedEntity structures and functions.
SO_PUBLIC uint32_t ConnectedEntityList_Count | ( | void | ) |
Counts the number of entries in the list.
SO_PUBLIC bool ConnectedEntityList_Update | ( | struct Message * | message | ) |
Updates the timestamp an entry in the list.
message | A hello message from the nugget. |