include/razorback/connected_entity.h File Reference

ConnectedEntity structures and functions. More...

#include <razorback/visibility.h>
#include <razorback/types.h>
#include <razorback/messages.h>
#include <time.h>
Include dependency graph for connected_entity.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 ConnectedEntityConnectedEntityList_GetDedicatedDispatcher (void)
SO_PUBLIC struct ConnectedEntityConnectedEntityList_GetDispatcher_HighestPriority ()
SO_PUBLIC bool ConnectedEntityList_SlaveInLocality (uint8_t locality)

Detailed Description

ConnectedEntity structures and functions.


Function Documentation

SO_PUBLIC uint32_t ConnectedEntityList_Count ( void   ) 

Counts the number of entries in the list.

Returns:
the number of items in the list.
SO_PUBLIC bool ConnectedEntityList_Update ( struct Message message  ) 

Updates the timestamp an entry in the list.

Parameters:
message A hello message from the nugget.
Returns:
true on success, false otherwise
 All Data Structures Files Functions Variables Enumerations Enumerator Defines
Generated on Sun Dec 9 04:00:11 2012 for RazorbackAPI by  doxygen 1.6.3