MCPcopy Create free account
hub / github.com/apache/brpc / SocketMapInsert

Function SocketMapInsert

src/brpc/socket_map.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100int SocketMapInsert(const SocketMapKey& key, SocketId* id,
101 SocketOptions& opt) {
102 return get_or_new_client_side_socket_map()->Insert(key, id, opt);
103}
104
105int SocketMapFind(const SocketMapKey& key, SocketId* id) {
106 SocketMap* m = get_client_side_socket_map();

Callers

nothing calls this directly

Calls 2

InsertMethod · 0.45

Tested by

no test coverage detected