dial spec 2.0

This commit is contained in:
jcli
2015-10-20 16:33:55 -07:00
parent 3454a59e99
commit 2477615a40
15 changed files with 656 additions and 362 deletions

View File

@@ -73,11 +73,11 @@ public:
const string& friendlyName,
DialServer &server );
void *send_mcast();
private:
DialDiscovery();
void updateServerList(string& server);
void updateServerList(string& server, string mac, int timeOut);
static void *receiveResponses(void *p);
static void *send_mcast(void *p);
void processServer(char *pResponse);
void cleanServerList();
void resetDiscovery();
@@ -89,6 +89,7 @@ private:
ServerMap mServerMap;
static DialDiscovery* sDiscovery;
static const int RESPONSE_TIMEOUT = 5;
};
#endif // DIALDISCOVERY_H