Class SystemService

Inheritance Relationships

Base Type

Class Documentation

class SystemService : public axr::sdk::ServiceBase<Object>

Public Functions

inline SystemService(std::shared_ptr<Configuration> config, std::shared_ptr<net::IApiClient> apiClient)
inline ~SystemService()
pplx::task<datetime> GetServerTime()

Retrieves the current server time from the backend services.

Returns

A task whose result is the current server time.

pplx::task<std::shared_ptr<Object>> GetServiceStatus(const utility::string_t &serviceName = _XPLATSTR(""))

Retrieves the current operating status of the service with the given name. If no name is given, queries the root service status.

Returns

A task whose result is the current service status.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.