summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/LinkLocal/LinkLocalConnector.h')
-rw-r--r--Swiften/LinkLocal/LinkLocalConnector.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/LinkLocal/LinkLocalConnector.h b/Swiften/LinkLocal/LinkLocalConnector.h
index d296804..2ddb5b8 100644
--- a/Swiften/LinkLocal/LinkLocalConnector.h
+++ b/Swiften/LinkLocal/LinkLocalConnector.h
@@ -15,7 +15,7 @@ namespace Swift {
class Element;
class PayloadParserFactoryCollection;
class PayloadSerializerCollection;
- class DNSSDService;
+ class DNSSDQuerier;
class LinkLocalConnector : public boost::enable_shared_from_this<LinkLocalConnector> {
public:
@@ -23,7 +23,7 @@ namespace Swift {
const JID& remoteJID,
const String& hostname,
int port,
- boost::shared_ptr<DNSSDService> resolver,
+ boost::shared_ptr<DNSSDQuerier> querier,
boost::shared_ptr<Connection> connection);
const JID& getRemoteJID() const {
@@ -44,14 +44,14 @@ namespace Swift {
boost::signal<void (bool)> onConnectFinished;
private:
- void handleHostnameResolved(const String& hostname, const boost::optional<HostAddress>& address);
+ //void handleHostnameResolved(const String& hostname, const boost::optional<HostAddress>& address);
void handleConnected(bool error);
private:
JID remoteJID_;
String hostname_;
int port_;
- boost::shared_ptr<DNSSDService> resolver_;
+ boost::shared_ptr<DNSSDQuerier> querier_;
boost::shared_ptr<Connection> connection_;
bool resolving_;
std::vector<boost::shared_ptr<Element> > queuedElements_;