summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Server.h')
-rw-r--r--Slimber/Server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Slimber/Server.h b/Slimber/Server.h
index 573e3d9..5ce9e31 100644
--- a/Slimber/Server.h
+++ b/Slimber/Server.h
@@ -26,10 +26,13 @@ namespace Swift {
public:
Server(int clientConnectionPort, int linkLocalConnectionPort, boost::shared_ptr<DNSSDService> dnsSDService);
+ boost::signal<void (bool)> onSelfConnected;
+
private:
void handleNewClientConnection(boost::shared_ptr<Connection> c);
void handleNewLinkLocalConnection(boost::shared_ptr<Connection> connection);
void handleServiceRegistered(const DNSSDService::Service& service);
+ void handleSessionStarted();
void handleSessionFinished(boost::shared_ptr<ServerFromClientSession>);
void handleLinkLocalSessionFinished(boost::shared_ptr<Session> session);
void handleLinkLocalElementReceived(boost::shared_ptr<Element> element, boost::shared_ptr<Session> session);