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

Public Member Functions

template<class ZEUS_RETURN_VALUE , class ZEUS_CLASS_TYPE , class... ZEUS_FUNC_ARGS_TYPE>
zeus::AbstractFunctionadvertise (const std::string &_name, ZEUS_RETURN_VALUE(ZEUS_CLASS_TYPE::*_func)(ZEUS_FUNC_ARGS_TYPE... _args))
 
 ServiceType (ememory::SharedPtr< ZEUS_USER_ACCESS > _interface)
 
bool isFunctionAuthorized (uint64_t _clientId, const std::string &_funcName)
 
void clientConnect (uint64_t _clientId, const std::string &_userName, const std::string &_clientName, const std::vector< std::string > &_groups)
 
void clientDisconnect (uint64_t _clientId)
 
void clientSetName (uint64_t _clientId, const std::string &_clientName)
 
void clientSetGroup (uint64_t _clientId, const std::vector< std::string > &_clientGroups)
 
void callBinary2 (const std::string &_call, ememory::SharedPtr< zeus::BufferCall > _obj)
 
- Public Member Functions inherited from zeus::Service
 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))
 

Additional Inherited Members

- Public Attributes inherited from zeus::Service
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 inherited from zeus::Service
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
 

Constructor & Destructor Documentation

§ ServiceType()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::ServiceType ( ememory::SharedPtr< ZEUS_USER_ACCESS >  _interface)
inline
Parameters
[in]

Member Function Documentation

§ advertise()

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

§ callBinary2()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
void zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::callBinary2 ( const std::string &  _call,
ememory::SharedPtr< zeus::BufferCall _obj 
)
inlinevirtual
Parameters
[in]

Implements zeus::Service.

§ clientConnect()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
void zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::clientConnect ( uint64_t  _clientId,
const std::string &  _userName,
const std::string &  _clientName,
const std::vector< std::string > &  _groups 
)
inlinevirtual
Parameters
[in]

Implements zeus::Service.

§ clientDisconnect()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
void zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::clientDisconnect ( uint64_t  _clientId)
inlinevirtual
Parameters
[in]

Implements zeus::Service.

§ clientSetGroup()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
void zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::clientSetGroup ( uint64_t  _clientId,
const std::vector< std::string > &  _clientGroups 
)
inline
Parameters
[in]

§ clientSetName()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
void zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::clientSetName ( uint64_t  _clientId,
const std::string &  _clientName 
)
inline
Parameters
[in]

§ isFunctionAuthorized()

template<class ZEUS_TYPE_SERVICE , class ZEUS_USER_ACCESS >
bool zeus::ServiceType< ZEUS_TYPE_SERVICE, ZEUS_USER_ACCESS >::isFunctionAuthorized ( uint64_t  _clientId,
const std::string &  _funcName 
)
inlinevirtual
Parameters
[in]

Reimplemented from zeus::RemoteProcessCall.


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