libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::Rpc::ServerInfo::Info Class Reference

#include <ServerInfo.h>

Public Types

enum  AuthType {
  undefined = 0, none = 1, basic = 2, cert = 4,
  session = 8, oauth2Local = 16
}
 

Public Member Functions

 Info ()
 
virtual ~Info ()
 
PVariable serialize ()
 Serializes the whole object except modSettings. More...
 
void unserialize (PVariable data)
 

Public Attributes

int32_t index = -1
 
std::string name
 
std::string interface
 
int32_t port = -1
 
bool ssl = true
 
std::string caPath
 
std::string certPath
 
std::string keyPath
 
std::string dhParamPath
 
AuthType authType = AuthType::cert
 
std::unordered_set< uint64_t > validGroups
 
std::string contentPath
 
uint32_t contentPathPermissions = 360
 
std::string contentPathUser
 
std::string contentPathGroup
 
bool webServer = false
 
bool webSocket = false
 
AuthType websocketAuthType = AuthType::session
 
bool rpcServer = false
 
bool restServer = false
 
bool familyServer = false
 
int32_t cacheAssets = 2592000
 
std::string redirectTo
 
PFileDescriptor socketDescriptor
 
std::map< std::string, std::vector< std::string > > modSettings
 
std::string address
 
PVariable serializedInfo
 

Member Enumeration Documentation

§ AuthType

Enumerator
undefined 
none 
basic 
cert 
session 
oauth2Local 

Constructor & Destructor Documentation

§ Info()

BaseLib::Rpc::ServerInfo::Info::Info ( )
inline

§ ~Info()

virtual BaseLib::Rpc::ServerInfo::Info::~Info ( )
inlinevirtual

Member Function Documentation

§ serialize()

PVariable BaseLib::Rpc::ServerInfo::Info::serialize ( )

Serializes the whole object except modSettings.

§ unserialize()

void BaseLib::Rpc::ServerInfo::Info::unserialize ( PVariable  data)

Member Data Documentation

§ address

std::string BaseLib::Rpc::ServerInfo::Info::address

§ authType

AuthType BaseLib::Rpc::ServerInfo::Info::authType = AuthType::cert

§ cacheAssets

int32_t BaseLib::Rpc::ServerInfo::Info::cacheAssets = 2592000

§ caPath

std::string BaseLib::Rpc::ServerInfo::Info::caPath

§ certPath

std::string BaseLib::Rpc::ServerInfo::Info::certPath

§ contentPath

std::string BaseLib::Rpc::ServerInfo::Info::contentPath

§ contentPathGroup

std::string BaseLib::Rpc::ServerInfo::Info::contentPathGroup

§ contentPathPermissions

uint32_t BaseLib::Rpc::ServerInfo::Info::contentPathPermissions = 360

§ contentPathUser

std::string BaseLib::Rpc::ServerInfo::Info::contentPathUser

§ dhParamPath

std::string BaseLib::Rpc::ServerInfo::Info::dhParamPath

§ familyServer

bool BaseLib::Rpc::ServerInfo::Info::familyServer = false

§ index

int32_t BaseLib::Rpc::ServerInfo::Info::index = -1

§ interface

std::string BaseLib::Rpc::ServerInfo::Info::interface

§ keyPath

std::string BaseLib::Rpc::ServerInfo::Info::keyPath

§ modSettings

std::map<std::string, std::vector<std::string> > BaseLib::Rpc::ServerInfo::Info::modSettings

§ name

std::string BaseLib::Rpc::ServerInfo::Info::name

§ port

int32_t BaseLib::Rpc::ServerInfo::Info::port = -1

§ redirectTo

std::string BaseLib::Rpc::ServerInfo::Info::redirectTo

§ restServer

bool BaseLib::Rpc::ServerInfo::Info::restServer = false

§ rpcServer

bool BaseLib::Rpc::ServerInfo::Info::rpcServer = false

§ serializedInfo

PVariable BaseLib::Rpc::ServerInfo::Info::serializedInfo

§ socketDescriptor

PFileDescriptor BaseLib::Rpc::ServerInfo::Info::socketDescriptor

§ ssl

bool BaseLib::Rpc::ServerInfo::Info::ssl = true

§ validGroups

std::unordered_set<uint64_t> BaseLib::Rpc::ServerInfo::Info::validGroups

§ webServer

bool BaseLib::Rpc::ServerInfo::Info::webServer = false

§ webSocket

bool BaseLib::Rpc::ServerInfo::Info::webSocket = false

§ websocketAuthType

AuthType BaseLib::Rpc::ServerInfo::Info::websocketAuthType = AuthType::session

The documentation for this class was generated from the following files: