subchannel_interface_internal.h
Go to the documentation of this file.
1 //
2 // Copyright 2022 gRPC authors.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 
17 #ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H
18 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H
19 
21 
24 
25 namespace grpc_core {
26 
27 // Internal interface for watching data of a particular type for this
28 // subchannel.
31  public:
32  // Tells the watcher which subchannel to register itself with.
33  virtual void SetSubchannel(Subchannel* subchannel) = 0;
34 };
35 
36 } // namespace grpc_core
37 
38 #endif // GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_SUBCHANNEL_INTERFACE_INTERNAL_H
subchannel.h
grpc_core
Definition: call_metric_recorder.h:31
subchannel
RingHashSubchannelData * subchannel
Definition: ring_hash.cc:285
subchannel_interface.h
grpc_core::InternalSubchannelDataWatcherInterface
Definition: subchannel_interface_internal.h:29
grpc_core::Subchannel
Definition: subchannel.h:166
grpc_core::SubchannelInterface::DataWatcherInterface
Definition: subchannel_interface.h:57
grpc_core::InternalSubchannelDataWatcherInterface::SetSubchannel
virtual void SetSubchannel(Subchannel *subchannel)=0
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:27