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 |
|
) |
| |
| 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 |
|
) |
| |
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 |
|
) |
| |
The documentation for this class was generated from the following file: