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

Method is_a_client

src/msg/Message.h:594–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592public:
593 using Message::Message;
594 bool is_a_client() const {
595#ifdef WITH_CRIMSON
596 ceph_abort("In crimson, conn is independently maintained outside Message");
597#else
598 return get_connection()->get_peer_type() == CEPH_ENTITY_TYPE_CLIENT;
599#endif
600 }
601
602private:
603 using RefCountedObject::get;

Callers 3

handle_client_reclaimMethod · 0.80
handle_client_sessionMethod · 0.80
handle_client_requestMethod · 0.80

Calls 1

get_peer_typeMethod · 0.45

Tested by

no test coverage detected