1 #ifndef CLIENT_REGISTRY_CLASS
2 #define CLIENT_REGISTRY_CLASS
Provides a dynamically resizable ASCII character string.
A very common template for a dynamic array of bytes.
a platform-independent way to acquire random numbers in a specific range.
the blank_entity_registry can be used when security is not an issue.
bool authorized(const octopus_entity &formal(entity))
basis::astring text_form()
prints out the contents of the entity registry.
bool zap_entity(const octopus_entity &formal(entity))
bool add_entity(const octopus_entity &formal(entity), const basis::byte_array &formal(verification))
bool locate_entity(const octopus_entity &entity, timely::time_stamp &last_active, basis::byte_array &verification)
retrieves the security records for the "entity", if any exist.
bool refresh_entity(const octopus_entity &formal(entity))
Provides a security model for the octopus.
virtual bool authorized(const octopus_entity &entity)=0
returns true if the "entity" is a registered entity.
virtual bool add_entity(const octopus_entity &entity, const basis::byte_array &verification)=0
adds the "entity" to the list of authorized users if allowed.
virtual bool locate_entity(const octopus_entity &entity, timely::time_stamp &last_active, basis::byte_array &verification)=0
retrieves the security records for the "entity", if any exist.
virtual bool refresh_entity(const octopus_entity &entity)=0
this should be used to refresh the entity's health record.
virtual bool zap_entity(const octopus_entity &entity)=0
removes a "entity" if the entity can be found.
virtual basis::astring text_form()=0
prints out the contents of the entity registry.
virtual ~entity_registry()
Provides a way of identifying users of an octopus object.
Implements a thread-safe roller object.
Helpful functions for interacting with TCP/IP stacks.
Represents a point in time relative to the operating system startup time.
#define formal(parameter)
This macro just eats what it's passed; it marks unused formal parameters.