]> git.proxmox.com Git - ceph.git/blob - ceph/src/crimson/net/Fwd.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / crimson / net / Fwd.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3 /*
4 * Ceph - scalable distributed file system
5 *
6 * Copyright (C) 2017 Red Hat, Inc
7 *
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
12 *
13 */
14
15 #pragma once
16
17 #include <seastar/core/shared_ptr.hh>
18 #include <seastar/core/sharded.hh>
19
20 #include "msg/Connection.h"
21 #include "msg/MessageRef.h"
22 #include "msg/msg_types.h"
23
24 using auth_proto_t = int;
25
26 class AuthConnectionMeta;
27 using AuthConnectionMetaRef = seastar::lw_shared_ptr<AuthConnectionMeta>;
28
29 namespace crimson::net {
30
31 using msgr_tag_t = uint8_t;
32 using stop_t = seastar::stop_iteration;
33
34 class Connection;
35 using ConnectionRef = seastar::shared_ptr<Connection>;
36
37 class Dispatcher;
38
39 class Messenger;
40 using MessengerRef = seastar::shared_ptr<Messenger>;
41
42 } // namespace crimson::net