handshaker_factory.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2016 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_CORE_LIB_TRANSPORT_HANDSHAKER_FACTORY_H
20 #define GRPC_CORE_LIB_TRANSPORT_HANDSHAKER_FACTORY_H
21 
23 
25 
27 
28 // A handshaker factory is used to create handshakers.
29 
30 // TODO(ctiller): HandshakeManager is forward declared in this file. When
31 // EventEngine lands IO support we ought to be able to include
32 // handshake_manager.h here and eliminate the HandshakeManager dependency - we
33 // cannot right now because HandshakeManager names too many iomgr types.
34 
35 namespace grpc_core {
36 
37 class HandshakeManager;
38 
40  public:
41  virtual void AddHandshakers(const grpc_channel_args* args,
42  grpc_pollset_set* interested_parties,
43  HandshakeManager* handshake_mgr) = 0;
44  virtual ~HandshakerFactory() = default;
45 };
46 
47 } // namespace grpc_core
48 
49 #endif /* GRPC_CORE_LIB_TRANSPORT_HANDSHAKER_FACTORY_H */
grpc_core
Definition: call_metric_recorder.h:31
grpc_pollset_set
struct grpc_pollset_set grpc_pollset_set
Definition: iomgr_fwd.h:23
grpc_channel_args
Definition: grpc_types.h:132
grpc_types.h
asyncio_get_stats.args
args
Definition: asyncio_get_stats.py:40
grpc_core::HandshakerFactory::AddHandshakers
virtual void AddHandshakers(const grpc_channel_args *args, grpc_pollset_set *interested_parties, HandshakeManager *handshake_mgr)=0
grpc_core::HandshakerFactory::~HandshakerFactory
virtual ~HandshakerFactory()=default
grpc_core::HandshakeManager
Definition: handshaker.h:98
iomgr_fwd.h
grpc_core::HandshakerFactory
Definition: handshaker_factory.h:39
port_platform.h


grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:00