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

#include <RpcClientInfo.h>

Public Member Functions

 RpcClientInfo ()
 
 RpcClientInfo (RpcClientInfo const &rhs)
 
virtual ~RpcClientInfo ()=default
 
RpcClientInfooperator= (const RpcClientInfo &rhs)
 
PVariable serialize ()
 Serializes the data part of the object. More...
 
void unserialize (BaseLib::SharedObjects *bl, PVariable data)
 

Public Attributes

int32_t id = -1
 
bool sendEventsToRpcServer = false
 
bool closed = false
 
bool addon = false
 
bool flowsServer = false
 
bool scriptEngineServer = false
 
bool ipcServer = false
 
bool mqttClient = false
 
bool familyModule = false
 
std::string webSocketClientId
 
std::string address
 
int32_t port = 0
 
std::string initUrl
 
std::string initInterfaceId
 
std::string language
 
std::string user
 
bool authenticated = false
 
bool hasClientCertificate = false
 
std::string distinguishedName
 
Security::PAcls acls
 
RpcType rpcType = RpcType::unknown
 
RpcClientType clientType = RpcClientType::generic
 
bool initKeepAlive = false
 
bool initBinaryMode = false
 
bool initNewFormat = false
 
bool initSubscribePeers = false
 
bool initJsonMode = false
 
bool initSendNewDevices = true
 
uint64_t peerId = 0
 Set by Miscellaneous peers. More...
 
std::shared_ptr< FileDescriptorsocketDescriptor
 
std::shared_ptr< TcpSocketsocket
 
std::atomic< int64_t > lastReceivedPacket
 
std::mutex invokeMutex
 
std::mutex requestMutex
 
std::condition_variable requestConditionVariable
 
PVariable rpcResponse
 
std::atomic_bool waitForResponse
 

Protected Attributes

PVariable serializedInfo
 

Constructor & Destructor Documentation

§ RpcClientInfo() [1/2]

BaseLib::RpcClientInfo::RpcClientInfo ( )

§ RpcClientInfo() [2/2]

BaseLib::RpcClientInfo::RpcClientInfo ( RpcClientInfo const &  rhs)

§ ~RpcClientInfo()

virtual BaseLib::RpcClientInfo::~RpcClientInfo ( )
virtualdefault

Member Function Documentation

§ operator=()

BaseLib::RpcClientInfo & BaseLib::RpcClientInfo::operator= ( const RpcClientInfo rhs)

§ serialize()

BaseLib::PVariable BaseLib::RpcClientInfo::serialize ( )

Serializes the data part of the object.

§ unserialize()

void BaseLib::RpcClientInfo::unserialize ( BaseLib::SharedObjects bl,
BaseLib::PVariable  data 
)

Member Data Documentation

§ acls

Security::PAcls BaseLib::RpcClientInfo::acls

§ addon

bool BaseLib::RpcClientInfo::addon = false

§ address

std::string BaseLib::RpcClientInfo::address

§ authenticated

bool BaseLib::RpcClientInfo::authenticated = false

§ clientType

RpcClientType BaseLib::RpcClientInfo::clientType = RpcClientType::generic

§ closed

bool BaseLib::RpcClientInfo::closed = false

§ distinguishedName

std::string BaseLib::RpcClientInfo::distinguishedName

§ familyModule

bool BaseLib::RpcClientInfo::familyModule = false

§ flowsServer

bool BaseLib::RpcClientInfo::flowsServer = false

§ hasClientCertificate

bool BaseLib::RpcClientInfo::hasClientCertificate = false

§ id

int32_t BaseLib::RpcClientInfo::id = -1

§ initBinaryMode

bool BaseLib::RpcClientInfo::initBinaryMode = false

§ initInterfaceId

std::string BaseLib::RpcClientInfo::initInterfaceId

§ initJsonMode

bool BaseLib::RpcClientInfo::initJsonMode = false

§ initKeepAlive

bool BaseLib::RpcClientInfo::initKeepAlive = false

§ initNewFormat

bool BaseLib::RpcClientInfo::initNewFormat = false

§ initSendNewDevices

bool BaseLib::RpcClientInfo::initSendNewDevices = true

§ initSubscribePeers

bool BaseLib::RpcClientInfo::initSubscribePeers = false

§ initUrl

std::string BaseLib::RpcClientInfo::initUrl

§ invokeMutex

std::mutex BaseLib::RpcClientInfo::invokeMutex

§ ipcServer

bool BaseLib::RpcClientInfo::ipcServer = false

§ language

std::string BaseLib::RpcClientInfo::language

§ lastReceivedPacket

std::atomic<int64_t> BaseLib::RpcClientInfo::lastReceivedPacket

§ mqttClient

bool BaseLib::RpcClientInfo::mqttClient = false

§ peerId

uint64_t BaseLib::RpcClientInfo::peerId = 0

Set by Miscellaneous peers.

§ port

int32_t BaseLib::RpcClientInfo::port = 0

§ requestConditionVariable

std::condition_variable BaseLib::RpcClientInfo::requestConditionVariable

§ requestMutex

std::mutex BaseLib::RpcClientInfo::requestMutex

§ rpcResponse

PVariable BaseLib::RpcClientInfo::rpcResponse

§ rpcType

RpcType BaseLib::RpcClientInfo::rpcType = RpcType::unknown

§ scriptEngineServer

bool BaseLib::RpcClientInfo::scriptEngineServer = false

§ sendEventsToRpcServer

bool BaseLib::RpcClientInfo::sendEventsToRpcServer = false

§ serializedInfo

PVariable BaseLib::RpcClientInfo::serializedInfo
protected

§ socket

std::shared_ptr<TcpSocket> BaseLib::RpcClientInfo::socket

§ socketDescriptor

std::shared_ptr<FileDescriptor> BaseLib::RpcClientInfo::socketDescriptor

§ user

std::string BaseLib::RpcClientInfo::user

§ waitForResponse

std::atomic_bool BaseLib::RpcClientInfo::waitForResponse

§ webSocketClientId

std::string BaseLib::RpcClientInfo::webSocketClientId

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