Class IEntityWatchdog

Inheritance Relationships

Derived Type

Class Documentation

class IEntityWatchdog

Interface class for all EntityWatchdog utility classes.

Subclassed by axr::sdk::utils::EntityWatchdog< T >

Public Functions

virtual bool NotifyEntityUpdate(Object &msg) = 0

Notifies the watchdog that an entity has been updated.

Parameters

msg – The message object containing the entity update.

Returns

Returns true if the entity update was handled by this watchdog instance, otherwise returns false.

virtual void SetPushSocket(std::shared_ptr<net::IWebSocket> inSocket) = 0

Sets the currently active push notification websocket connection.

virtual void Shutdown() = 0

Stops watching all entity objects and cleans up the service.