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

Method _connect

src/msg/async/AsyncConnection.cc:518–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void AsyncConnection::_connect()
519{
520 ldout(async_msgr->cct, 10) << __func__ << dendl;
521
522 state = STATE_CONNECTING;
523 protocol->connect();
524 // rescheduler connection in order to avoid lock dep
525 // may called by external thread(send_message)
526 center->dispatch_event_external(read_handler);
527}
528
529void AsyncConnection::accept(ConnectedSocket socket,
530 const entity_addr_t &listen_addr,

Callers 2

write_eventMethod · 0.45
write_eventMethod · 0.45

Calls 2

connectMethod · 0.45

Tested by

no test coverage detected