diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-27 18:32:51 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-27 18:32:51 (GMT) |
commit | 644bcda4cb795944cc5d5df53b3c0392450239df (patch) | |
tree | d751823018e66ddeede40f0d4928d9a5963db064 /Slimber | |
parent | 4e2cb67ac26ca338a4bd7676683186f543903c5a (diff) | |
download | swift-644bcda4cb795944cc5d5df53b3c0392450239df.zip swift-644bcda4cb795944cc5d5df53b3c0392450239df.tar.bz2 |
Improve LinkLocalServiceInfo unit test.
Diffstat (limited to 'Slimber')
-rw-r--r-- | Slimber/Server.cpp | 2 | ||||
-rw-r--r-- | Slimber/Server.h | 2 |
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); |