Open Lighting Architecture
 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 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 
)

DeRegister a service

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

Find a service.

bool ola::slp::SLPClient::GetServerInfo ( SingleUseCallback2< void, const string &, const ServerInfo & > *  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 
)

Register a service


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