summaryrefslogtreecommitdiffstats
path: root/src/msg/async/Protocol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg/async/Protocol.cc')
-rw-r--r--src/msg/async/Protocol.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/msg/async/Protocol.cc b/src/msg/async/Protocol.cc
new file mode 100644
index 00000000..4bdc065e
--- /dev/null
+++ b/src/msg/async/Protocol.cc
@@ -0,0 +1,14 @@
+#include "Protocol.h"
+
+#include "AsyncConnection.h"
+#include "AsyncMessenger.h"
+
+Protocol::Protocol(int type, AsyncConnection *connection)
+ : proto_type(type),
+ connection(connection),
+ messenger(connection->async_msgr),
+ cct(connection->async_msgr->cct) {
+ auth_meta.reset(new AuthConnectionMeta());
+}
+
+Protocol::~Protocol() {}