summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-06-18 16:34:04 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-06-18 16:34:04 (GMT)
commitc31ab7f87ea33b4e1de2ae28c3c9e5263de23b77 (patch)
treed849f6bf26774e08601c860801a815bdf31c5bfe /Swiften/Network/ConnectionServer.h
parented0dbffeb8a3b36965d359c8a689bdb41372e481 (diff)
parent7d0e9c3d963ffcb3f7d6d313dfa55466beb742b9 (diff)
downloadswift-contrib-c31ab7f87ea33b4e1de2ae28c3c9e5263de23b77.zip
swift-contrib-c31ab7f87ea33b4e1de2ae28c3c9e5263de23b77.tar.bz2
Merge branch 'swift-1.x'
* swift-1.x: Small tweaks to the previous patch. Added ConnectionServerFactory. Conflicts: Swiften/Network/SConscript
Diffstat (limited to 'Swiften/Network/ConnectionServer.h')
-rw-r--r--Swiften/Network/ConnectionServer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Network/ConnectionServer.h b/Swiften/Network/ConnectionServer.h
index b19dbf6..00703a4 100644
--- a/Swiften/Network/ConnectionServer.h
+++ b/Swiften/Network/ConnectionServer.h
@@ -19,6 +19,10 @@ namespace Swift {
virtual HostAddressPort getAddressPort() const = 0;
+ virtual void start() = 0;
+
+ virtual void stop() = 0;
+
boost::signal<void (boost::shared_ptr<Connection>)> onNewConnection;
};
}