22 #ifndef INCLUDE_OLA_E133_OLASLPTHREAD_H_
23 #define INCLUDE_OLA_E133_OLASLPTHREAD_H_
27 #include <ola/e133/SLPThread.h>
28 #include <ola/network/Socket.h>
29 #include <ola/network/TCPSocket.h>
30 #include <ola/slp/SLPClient.h>
31 #include <ola/thread/ExecutorInterface.h>
32 #include <ola/thread/Thread.h>
33 #include <ola/util/Backoff.h>
49 unsigned int discovery_interval = DEFAULT_DISCOVERY_INTERVAL_SECONDS);
57 const string &service);
65 void ThreadStopping();
70 auto_ptr<ola::network::TCPSocket> m_slp_socket;
71 auto_ptr<ola::slp::SLPClient> m_slp_client;
76 const URLEntries &urls);
78 const string &status, uint16_t error_code);
80 const string &status, uint16_t error_code);
86 void ShutdownClient();
87 bool ConnectAndSetupClient();
88 void AttemptSLPConnection();
94 #endif // INCLUDE_OLA_E133_OLASLPTHREAD_H_