Program Listing for File SystemService.h
↰ Return to documentation for file (axr.sdk/services/SystemService.h
)
// Copyright (C) AcceleratXR, Inc. All rights reserved.
//
// Author: Jean-Philippe Steinmetz <info@acceleratxr.com>
#pragma once
#include "axr.sdk/net/IApiClient.h"
#include "axr.sdk/ServiceBase.h"
#include <cpprest/details/basic_types.h>
namespace axr {
namespace sdk {
namespace services {
class SystemService : public ServiceBase<Object> {
public:
SystemService(std::shared_ptr<Configuration> config, std::shared_ptr<net::IApiClient> apiClient)
: ServiceBase(config, apiClient)
{}
~SystemService() {}
static const utility::char_t* ClassName()
{
return _XPLATSTR("axr::sdk::services::TimeService");
}
pplx::task<datetime> GetServerTime();
pplx::task<std::shared_ptr<Object>> GetServiceStatus(const utility::string_t& serviceName = _XPLATSTR(""));
};
} // namespace services
} // namespace axr
} // namespace sdk