#include <grpc/support/port_platform.h>
#include "src/core/lib/transport/handshaker.h"
#include <inttypes.h>
#include <initializer_list>
#include <string>
#include <utility>
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include <grpc/byte_buffer.h>
#include <grpc/event_engine/event_engine.h>
#include <grpc/grpc.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/status_helper.h"
#include "src/core/lib/iomgr/event_engine_shims/endpoint.h"
#include "src/core/lib/iomgr/exec_ctx.h"
namespace grpc_core {
TraceFlag grpc_handshaker_trace(false, "handshaker");
namespace {
EventEngine;
std::string HandshakerArgsString(HandshakerArgs* args) { … }
}
HandshakeManager::HandshakeManager()
: … { … }
void HandshakeManager::Add(RefCountedPtr<Handshaker> handshaker) { … }
HandshakeManager::~HandshakeManager() { … }
void HandshakeManager::Shutdown(grpc_error_handle why) { … }
bool HandshakeManager::CallNextHandshakerLocked(grpc_error_handle error) { … }
void HandshakeManager::CallNextHandshakerFn(void* arg,
grpc_error_handle error) { … }
void HandshakeManager::DoHandshake(grpc_endpoint* endpoint,
const ChannelArgs& channel_args,
Timestamp deadline,
grpc_tcp_server_acceptor* acceptor,
grpc_iomgr_cb_func on_handshake_done,
void* user_data) { … }
}
void grpc_handshake_manager_add(grpc_handshake_manager* mgr,
grpc_handshaker* handshaker) { … }