blob: 1af1985897fdaea5bb99434b5533ede1cba97c83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// -*- 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,
uint64_t nonce,
bool dispatch_only_on_this_shard)
{
return seastar::make_shared<SocketMessenger>(
name, lname, nonce, dispatch_only_on_this_shard);
}
} // namespace crimson::net
|