Open Lighting Architecture
0.9.1
|
Public Member Functions | |
OpenSLPThread (ola::thread::ExecutorInterface *ss, unsigned int discovery_interval=DEFAULT_DISCOVERY_INTERVAL_SECONDS) | |
bool | Init () |
void | Cleanup () |
Public Member Functions inherited from ola::e133::BaseSLPThread | |
BaseSLPThread (ola::thread::ExecutorInterface *executor, unsigned int discovery_interval=DEFAULT_DISCOVERY_INTERVAL_SECONDS) | |
bool | SetNewControllerCallback (DiscoveryCallback *callback) |
bool | SetNewDeviceCallback (DiscoveryCallback *callback) |
void | RegisterDevice (RegistrationCallback *callback, const IPV4Address &address, const UID &uid, uint16_t lifetime) |
void | RegisterController (RegistrationCallback *callback, const IPV4Address &address, uint16_t lifetime) |
void | DeRegisterDevice (RegistrationCallback *callback, const IPV4Address &address, const UID &uid) |
void | DeRegisterController (RegistrationCallback *callback, const IPV4Address &address) |
void | ServerInfo (ServerInfoCallback *callback) |
void | RunDeviceDiscoveryNow () |
bool | Start () |
bool | Join (void *ptr=NULL) |
Public Member Functions inherited from ola::thread::Thread | |
virtual bool | FastStart () |
bool | IsRunning () |
ThreadId | Id () const |
void * | _InternalRun () |
Protected Member Functions | |
void | RunDiscovery (InternalDiscoveryCallback *callback, const string &service) |
void | RegisterSLPService (RegistrationCallback *callback, const string &url, uint16_t lifetime) |
void | DeRegisterSLPService (RegistrationCallback *callback, const string &url) |
void | SLPServerInfo (ServerInfoCallback *callback) |
Protected Member Functions inherited from ola::e133::BaseSLPThread | |
void * | Run () |
void | RunCallbackInExecutor (RegistrationCallback *callback, bool ok) |
virtual void | ThreadStopping () |
virtual uint16_t | MinRefreshTime () |
void | ReRegisterAllServices () |
Additional Inherited Members | |
Public Types inherited from ola::e133::BaseSLPThread | |
typedef ola::BaseCallback1 < void, bool > | RegistrationCallback |
typedef ola::Callback2< void, bool, const ola::slp::URLEntries & > | DiscoveryCallback |
typedef ola::SingleUseCallback2< void, bool, const SLPThreadServerInfo & > | ServerInfoCallback |
Static Public Member Functions inherited from ola::thread::Thread | |
static ThreadId | Self () |
Static Public Attributes inherited from ola::e133::BaseSLPThread | |
static const unsigned int | DEFAULT_DISCOVERY_INTERVAL_SECONDS |
Protected Types inherited from ola::e133::BaseSLPThread | |
typedef ola::SingleUseCallback2< void, bool, const ola::slp::URLEntries & > | InternalDiscoveryCallback |
Protected Attributes inherited from ola::e133::BaseSLPThread | |
ola::io::SelectServer | m_ss |
ola::thread::ExecutorInterface * | m_executor |
Static Protected Attributes inherited from ola::e133::BaseSLPThread | |
static const char | RDNMET_SCOPE [] |