summaryrefslogtreecommitdiffstats
path: root/src/crimson/net/Messenger.cc
blob: aab476f7a4b020ae8de86c5199cfce21118b89c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "Messenger.h"
#include "SocketMessenger.h"

namespace crimson::net {

MessengerRef
Messenger::create(const entity_name_t& name,
                  const std::string& lname,
                  const uint64_t nonce)
{
  return seastar::make_shared<SocketMessenger>(name, lname, nonce);
}

} // namespace crimson::net