Open Lighting Architecture  0.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::slp::SLPClient Class Reference

Public Member Functions

 SLPClient (ola::io::ConnectedDescriptor *descriptor)
bool Setup ()
bool Stop ()
void SetCloseHandler (ola::SingleUseCallback0< void > *callback)
bool RegisterService (const std::vector< std::string > &scopes, const std::string &service, uint16_t lifetime, SingleUseCallback2< void, const std::string &, uint16_t > *callback)
bool RegisterPersistentService (const std::vector< std::string > &scopes, const std::string &service, uint16_t lifetime, SingleUseCallback2< void, const std::string &, uint16_t > *callback)
bool DeRegisterService (const std::vector< std::string > &scopes, const std::string &service, SingleUseCallback2< void, const std::string &, uint16_t > *callback)
bool FindService (const std::vector< std::string > &scopes, const std::string &service, SingleUseCallback2< void, const std::string &, const std::vector< URLEntry > & > *callback)
bool GetServerInfo (SingleUseCallback2< void, const std::string &, const ServerInfo & > *callback)

Member Function Documentation

bool ola::slp::SLPClient::DeRegisterService ( const std::vector< std::string > &  scopes,
const std::string &  service,
SingleUseCallback2< void, const std::string &, uint16_t > *  callback 
)

DeRegister a service

bool ola::slp::SLPClient::FindService ( const std::vector< std::string > &  scopes,
const std::string &  service,
SingleUseCallback2< void, const std::string &, const std::vector< URLEntry > & > *  callback 
)

Find a service.

bool ola::slp::SLPClient::GetServerInfo ( SingleUseCallback2< void, const std::string &, const ServerInfo & > *  callback)

Get info about the server

bool ola::slp::SLPClient::RegisterPersistentService ( const std::vector< std::string > &  scopes,
const std::string &  service,
uint16_t  lifetime,
SingleUseCallback2< void, const std::string &, uint16_t > *  callback 
)

Register a service that persists beyond the lifetime of this client.

bool ola::slp::SLPClient::RegisterService ( const std::vector< std::string > &  scopes,
const std::string &  service,
uint16_t  lifetime,
SingleUseCallback2< void, const std::string &, uint16_t > *  callback 
)

Register a service


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