MCPcopy Create free account
hub / github.com/ceph/ceph / connect

Method connect

src/msg/async/AsyncConnection.cc:507–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507void AsyncConnection::connect(const entity_addrvec_t &addrs, int type,
508 entity_addr_t &target) {
509
510 std::lock_guard<std::mutex> l(lock);
511 set_peer_type(type);
512 set_peer_addrs(addrs);
513 policy = msgr->get_policy(type);
514 target_addr = target;
515 _connect();
516}
517
518void AsyncConnection::_connect()
519{

Callers 2

processMethod · 0.45
_connectMethod · 0.45

Calls 1

get_policyMethod · 0.45

Tested by

no test coverage detected