MCPcopy Create free account
hub / github.com/apache/brpc / ~Channel

Method ~Channel

src/brpc/channel.cpp:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171Channel::~Channel() {
172 if (_server_id != INVALID_SOCKET_ID) {
173 const ChannelSignature sig = ComputeChannelSignature(_options);
174 SocketMapRemove(SocketMapKey(_server_address, sig));
175 }
176}
177
178
179int Channel::InitChannelOptions(const ChannelOptions* options) {

Callers

nothing calls this directly

Calls 3

ComputeChannelSignatureFunction · 0.85
SocketMapRemoveFunction · 0.85
SocketMapKeyClass · 0.85

Tested by

no test coverage detected