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

Method Client

src/test/msgr/test_async_networkstack.cc:689–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687
688 public:
689 Client(StressFactory *f, EventCenter *cen, ConnectedSocket s, size_t c)
690 : factory(f), center(cen), socket(std::move(s)), left(c), homeless_message(factory->rs, -1, 1024),
691 read_ctxt(this), write_ctxt(this) {
692 center->create_file_event(
693 socket.fd(), EVENT_READABLE, &read_ctxt);
694 center->dispatch_event_external(&read_ctxt);
695 }
696 void close() {
697 ASSERT_FALSE(write_enabled);
698 dead = true;

Callers

nothing calls this directly

Calls 3

create_file_eventMethod · 0.80
fdMethod · 0.45

Tested by

no test coverage detected