summaryrefslogtreecommitdiffstats
path: root/src/msg/async/Protocol.cc
blob: 4bdc065ebb9fb75ca3d07660683dcae04bbcea3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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() {}