|
||||
File indexing completed on 2025-01-18 10:00:10
0001 /** 0002 * Copyright (c) 2017-present, Facebook, Inc. 0003 * All rights reserved. 0004 * 0005 * This source code is licensed under the BSD-style license found in the 0006 * LICENSE file in the root directory of this source tree. 0007 */ 0008 0009 #pragma once 0010 0011 #include <string> 0012 #include <vector> 0013 0014 namespace gloo { 0015 namespace transport { 0016 0017 class Address { 0018 public: 0019 // Upper bound for an address' byte representation. 0020 static constexpr auto kMaxByteSize = 192; 0021 0022 virtual ~Address() = 0; 0023 0024 virtual std::string str() const = 0; 0025 0026 virtual std::vector<char> bytes() const = 0; 0027 }; 0028 0029 } // namespace transport 0030 } // namespace gloo
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |