#include <Service.hpp>

Inheritance diagram for zeus::Service:
eproperty::Interface zeus::RemoteProcessCall zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >

Public Member Functions

 Service ()
 
virtual ~Service ()
 
void connect (uint32_t _numberRetry=1)
 
void disconnect ()
 
void pingIsAlive ()
 
bool GateWayAlive ()
 
template<class ZEUS_RETURN_VALUE , class ZEUS_CLASS_TYPE , class... ZEUS_FUNC_ARGS_TYPE>
zeus::AbstractFunctionadvertise (std::string _name, ZEUS_RETURN_VALUE(ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args))
 
- Public Member Functions inherited from zeus::RemoteProcessCall
 RemoteProcessCall ()
 
void setDescription (const std::string &_desc)
 
std::string getDescription ()
 
void setVersion (const std::string &_vers)
 
std::string getVersion ()
 
void addAuthor (const std::string &_name, const std::string &_email)
 
const std::vector< std::pair< std::string, std::string > > & getAuthors () const
 
std::vector< std::string > getAuthors2 ()
 
std::string getType ()
 
void setType (const std::string &_type, uint16_t _version)
 
std::vector< std::string > getFunctions ()
 
AbstractFunctiongetFunction (std::string _funcName)
 
template<class ZEUS_RETURN_VALUE , class... ZEUS_FUNC_ARGS_TYPE>
zeus::AbstractFunctionadvertise (const std::string &_name, ZEUS_RETURN_VALUE(*_func)(ZEUS_FUNC_ARGS_TYPE... _args))
 
template<class ZEUS_RETURN_VALUE , class ZEUS_CLASS_TYPE , class... ZEUS_FUNC_ARGS_TYPE>
zeus::AbstractFunctionadvertise (std::string _name, ZEUS_RETURN_VALUE(ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args))
 

Public Attributes

eproperty::Value< std::string > propertyIp
 
eproperty::Value< uint16_t > propertyPort
 
eproperty::Value< std::string > propertyNameService
 
- Public Attributes inherited from eproperty::Interface
eproperty::InterfaceData properties
 

Protected Attributes

std::mutex m_mutex
 
ememory::SharedPtr< zeus::WebServerm_interfaceClient
 
uint32_t m_id
 
std::vector< std::string > m_newData
 
std::vector< zeus::FutureBasem_callMultiData
 
- Protected Attributes inherited from zeus::RemoteProcessCall
std::vector< zeus::AbstractFunction * > m_listFunction
 
std::string m_description
 
std::string m_version
 
std::vector< std::pair< std::string, std::string > > m_authors
 
std::string m_type
 

Additional Inherited Members

- Protected Member Functions inherited from zeus::RemoteProcessCall
virtual bool isFunctionAuthorized (uint64_t _clientSessionID, const std::string &_funcName)
 

Detailed Description

Parameters
[in]

Constructor & Destructor Documentation

§ Service()

zeus::Service::Service ( )
Parameters
[in]

§ ~Service()

virtual zeus::Service::~Service ( )
virtual
Parameters
[in]

Member Function Documentation

§ advertise()

template<class ZEUS_RETURN_VALUE , class ZEUS_CLASS_TYPE , class... ZEUS_FUNC_ARGS_TYPE>
zeus::AbstractFunction* zeus::Service::advertise ( std::string  _name,
ZEUS_RETURN_VALUE(ZEUS_CLASS_TYPE::*)(ZEUS_FUNC_ARGS_TYPE... _args)  _func 
)
inline
Parameters
[in]

§ connect()

void zeus::Service::connect ( uint32_t  _numberRetry = 1)
Parameters
[in]

§ disconnect()

void zeus::Service::disconnect ( )
Parameters
[in]

§ GateWayAlive()

bool zeus::Service::GateWayAlive ( )
Parameters
[in]

§ pingIsAlive()

void zeus::Service::pingIsAlive ( )
Parameters
[in]

Member Data Documentation

§ propertyIp

eproperty::Value<std::string> zeus::Service::propertyIp

Ip of WebSocket TCP connection.

§ propertyNameService

eproperty::Value<std::string> zeus::Service::propertyNameService

Service name.

§ propertyPort

eproperty::Value<uint16_t> zeus::Service::propertyPort

Port of the WebSocket connection.


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