summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-27 18:32:51 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-27 18:32:51 (GMT)
commit644bcda4cb795944cc5d5df53b3c0392450239df (patch)
treed751823018e66ddeede40f0d4928d9a5963db064 /Slimber
parent4e2cb67ac26ca338a4bd7676683186f543903c5a (diff)
downloadswift-contrib-644bcda4cb795944cc5d5df53b3c0392450239df.zip
swift-contrib-644bcda4cb795944cc5d5df53b3c0392450239df.tar.bz2
Improve LinkLocalServiceInfo unit test.
Diffstat (limited to 'Slimber')
-rw-r--r--Slimber/Server.cpp2
-rw-r--r--Slimber/Server.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Slimber/Server.cpp b/Slimber/Server.cpp
index c3c3d22..39f4233 100644
--- a/Slimber/Server.cpp
+++ b/Slimber/Server.cpp
@@ -69,7 +69,7 @@ void Server::handleNewLinkLocalConnection(boost::shared_ptr<Connection> connecti
registerLinkLocalSession(session);
}
-void Server::handleServiceRegistered(const LinkLocalServiceID& service) {
+void Server::handleServiceRegistered(const DNSSDServiceID& service) {
std::cout << "Service registered " << service.getName() << " " << service.getType() << " " << service.getDomain() << std::endl;
selfJID_ = JID(service.getName());
}
diff --git a/Slimber/Server.h b/Slimber/Server.h
index b40f576..9167106 100644
--- a/Slimber/Server.h
+++ b/Slimber/Server.h
@@ -33,7 +33,7 @@ namespace Swift {
private:
void handleNewClientConnection(boost::shared_ptr<Connection> c);
void handleNewLinkLocalConnection(boost::shared_ptr<Connection> connection);
- void handleServiceRegistered(const LinkLocalServiceID& service);
+ void handleServiceRegistered(const DNSSDServiceID& service);
void handleSessionStarted();
void handleSessionFinished(boost::shared_ptr<ServerFromClientSession>);
void handleLinkLocalSessionFinished(boost::shared_ptr<Session> session);