summaryrefslogtreecommitdiff
path: root/common/connectionbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/connectionbase.h')
-rw-r--r--common/connectionbase.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/common/connectionbase.h b/common/connectionbase.h
index 3e64551..ef09f83 100644
--- a/common/connectionbase.h
+++ b/common/connectionbase.h
@@ -11,13 +11,10 @@ class ConnectionBase {
private:
Message::Type pending_type;
std::size_t pending_size;
-
- //! Create a new message and initiate reception.
- void prepare_next_message();
-
+
protected:
- //! Signal that connection is established and ready to transfer data.
- void connected();
+ //! Initiate reception of a message.
+ void start_recv();
//! Deliver received data.
//! \param data Pointer to received data. Ownership is retained by caller.