Public Member Functions |
| SLPClient (ola::io::ConnectedDescriptor *descriptor) |
bool | Setup () |
bool | Stop () |
void | SetCloseHandler (ola::SingleUseCallback0< void > *callback) |
bool | RegisterService (const vector< string > &scopes, const string &service, uint16_t lifetime, SingleUseCallback2< void, const string &, uint16_t > *callback) |
bool | RegisterPersistentService (const vector< string > &scopes, const string &service, uint16_t lifetime, SingleUseCallback2< void, const string &, uint16_t > *callback) |
bool | DeRegisterService (const vector< string > &scopes, const string &service, SingleUseCallback2< void, const string &, uint16_t > *callback) |
bool | FindService (const vector< string > &scopes, const string &service, SingleUseCallback2< void, const string &, const vector< URLEntry > & > *callback) |
bool | GetServerInfo (SingleUseCallback2< void, const string &, const ServerInfo & > *callback) |
Member Function Documentation
bool ola::slp::SLPClient::DeRegisterService |
( |
const vector< string > & |
scopes, |
|
|
const string & |
service, |
|
|
SingleUseCallback2< void, const string &, uint16_t > * |
callback |
|
) |
| |
bool ola::slp::SLPClient::FindService |
( |
const vector< string > & |
scopes, |
|
|
const string & |
service, |
|
|
SingleUseCallback2< void, const string &, const vector< URLEntry > & > * |
callback |
|
) |
| |
Get info about the server
bool ola::slp::SLPClient::RegisterPersistentService |
( |
const vector< string > & |
scopes, |
|
|
const string & |
service, |
|
|
uint16_t |
lifetime, |
|
|
SingleUseCallback2< void, const string &, uint16_t > * |
callback |
|
) |
| |
Register a service that persists beyond the lifetime of this client.
bool ola::slp::SLPClient::RegisterService |
( |
const vector< string > & |
scopes, |
|
|
const string & |
service, |
|
|
uint16_t |
lifetime, |
|
|
SingleUseCallback2< void, const string &, uint16_t > * |
callback |
|
) |
| |
The documentation for this class was generated from the following file: