1 #ifndef SIMPLE_CLIENT_REGISTRY_CLASS
2 #define SIMPLE_CLIENT_REGISTRY_CLASS
24 class recognized_entity;
25 class recognized_entity_list;
74 recognized_entity_list *_entities;
Provides a dynamically resizable ASCII character string.
A very common template for a dynamic array of bytes.
Provides a security model for the octopus.
Provides a way of identifying users of an octopus object.
Provides a basic implementation of an entity_registry for octopus.
virtual bool locate_entity(const octopus_entity &entity, timely::time_stamp &last_active, basis::byte_array &verification)
retrieves the "security_record" for the "entity" if it exists.
virtual ~simple_entity_registry()
virtual bool zap_entity(const octopus_entity &entity)
removes an "entity" if the entity can be found.
virtual bool refresh_entity(const octopus_entity &entity)
this should be used to refresh the entity's health record.
virtual bool add_entity(const octopus_entity &entity, const basis::byte_array &verification)
adds the "entity" to the list of authorized users.
virtual basis::astring text_form()
shows the contents of the registry.
virtual bool authorized(const octopus_entity &entity)
returns true if the "entity" is a registered and authorized entity.
Represents a point in time relative to the operating system startup time.