chromium/third_party/grpc/src/src/core/lib/channel/channelz_registry.cc

//
//
// Copyright 2017 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//

#include <grpc/support/port_platform.h>

#include "src/core/lib/channel/channelz_registry.h"

#include <algorithm>
#include <cstdint>
#include <cstring>
#include <utility>
#include <vector>

#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>

#include "src/core/lib/channel/channelz.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/json/json.h"

namespace grpc_core {
namespace channelz {
namespace {

const int kPaginationLimit =;

}  // anonymous namespace

ChannelzRegistry* ChannelzRegistry::Default() {}

void ChannelzRegistry::InternalRegister(BaseNode* node) {}

void ChannelzRegistry::InternalUnregister(intptr_t uuid) {}

RefCountedPtr<BaseNode> ChannelzRegistry::InternalGet(intptr_t uuid) {}

std::string ChannelzRegistry::InternalGetTopChannels(
    intptr_t start_channel_id) {}

std::string ChannelzRegistry::InternalGetServers(intptr_t start_server_id) {}

void ChannelzRegistry::InternalLogAllEntities() {}

}  // namespace channelz
}  // namespace grpc_core

char* grpc_channelz_get_top_channels(intptr_t start_channel_id) {}

char* grpc_channelz_get_servers(intptr_t start_server_id) {}

char* grpc_channelz_get_server(intptr_t server_id) {}

char* grpc_channelz_get_server_sockets(intptr_t server_id,
                                       intptr_t start_socket_id,
                                       intptr_t max_results) {}

char* grpc_channelz_get_channel(intptr_t channel_id) {}

char* grpc_channelz_get_subchannel(intptr_t subchannel_id) {}

char* grpc_channelz_get_socket(intptr_t socket_id) {}