add instanceSnapshot()

This commit is contained in:
Michael Davidsaver
2020-03-24 17:41:46 -07:00
parent d064afb5bb
commit edadc31f96
14 changed files with 162 additions and 0 deletions
+4
View File
@@ -48,6 +48,8 @@ struct ServerIntrospect : public ServerOp
conn->opByIOID.erase(ioid);
ch->opByIOID.erase(ioid);
}
INST_COUNTER(ServerIntrospect);
};
struct ServerIntrospectControl : public server::ConnectOp
@@ -125,6 +127,8 @@ struct ServerIntrospectControl : public server::ConnectOp
const std::weak_ptr<server::Server::Pvt> server;
const std::weak_ptr<ServerIntrospect> op;
INST_COUNTER(ServerIntrospectControl);
};
} // namespace