CCF/include/ccf/network_identity_interface.h

28 строки
572 B
C++

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "ccf/node_subsystem_interface.h"
#include <optional>
#include <string>
#include <vector>
namespace ccf
{
struct NetworkIdentity;
class NetworkIdentitySubsystemInterface : public ccf::AbstractNodeSubSystem
{
public:
virtual ~NetworkIdentitySubsystemInterface() = default;
static char const* get_subsystem_name()
{
return "NetworkIdentity";
}
virtual const std::unique_ptr<NetworkIdentity>& get() = 0;
};
}