diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-02 16:42:48 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-02 16:46:07 (GMT) |
commit | c7bf51369ba1a590a1c2104ba4ff231faee158cd (patch) | |
tree | 7e6c9219928afcc63c2c0745eb2d2218dc9fdd3a /Slimber/Server.h | |
parent | 66fd05d46a6ead4d780bdb4da1ede43058c272da (diff) | |
download | swift-c7bf51369ba1a590a1c2104ba4ff231faee158cd.zip swift-c7bf51369ba1a590a1c2104ba4ff231faee158cd.tar.bz2 |
Slimber: Better error messages.
Diffstat (limited to 'Slimber/Server.h')
-rw-r--r-- | Slimber/Server.h | 8 |
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; |