summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Server.h')
-rw-r--r--Slimber/Server.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Slimber/Server.h b/Slimber/Server.h
index 372a3d3..3587c50 100644
--- a/Slimber/Server.h
+++ b/Slimber/Server.h
@@ -39,6 +39,14 @@ namespace Swift {
void start();
void stop();
+ int getLinkLocalPort() const {
+ return linkLocalConnectionPort;
+ }
+
+ int getClientToServerPort() const {
+ return clientConnectionPort;
+ }
+
boost::signal<void (bool)> onSelfConnected;
boost::signal<void (boost::optional<ServerError>)> onStopped;