summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/ClientInterface.hpp7
-rw-r--r--src/common/interface/CommonInterface.hpp8
2 files changed, 4 insertions, 11 deletions
diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp
index d77391f8..e7ddfeaf 100644
--- a/src/common/interface/ClientInterface.hpp
+++ b/src/common/interface/ClientInterface.hpp
@@ -50,13 +50,6 @@ public:
*/
virtual void disable() = 0;
- /** Bundles are a group of messages that are guaranteed to be in an
- * atomic unit with guaranteed order (eg a packet). For datagram
- * protocols (like UDP) there is likely an upper limit on bundle size.
- */
- virtual void bundle_begin() = 0;
- virtual void bundle_end() = 0;
-
/** Transfers are 'weak' bundles. These are used to break a large group
* of similar/related messages into larger chunks (solely for communication
* efficiency). A bunch of messages in a transfer will arrive as 1 or more
diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp
index a0d52791..220b2391 100644
--- a/src/common/interface/CommonInterface.hpp
+++ b/src/common/interface/CommonInterface.hpp
@@ -38,11 +38,11 @@ class CommonInterface
public:
virtual ~CommonInterface() {}
- // Bundles
+ /** Begin an atomic bundle */
virtual void bundle_begin() = 0;
- virtual void bundle_end() = 0;
-
- // Object commands
+
+ /** End (and send) an atomic bundle */
+ virtual void bundle_end() = 0;
virtual void new_patch(const std::string& path,
uint32_t poly) = 0;