mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-11 03:49:57 +00:00
dial spec 2.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user