feat: Add new GetNumberOfConnectedPeers() API

This commit is contained in:
Dennis Klein
2021-10-12 18:14:33 +02:00
parent b0d4d6c6e3
commit 406c5439b7
7 changed files with 218 additions and 18 deletions

View File

@@ -74,6 +74,11 @@ class Socket final : public fair::mq::Socket
auto GetMessagesTx() const -> unsigned long override { return fMessagesTx; }
auto GetMessagesRx() const -> unsigned long override { return fMessagesRx; }
auto GetNumberOfConnectedPeers() const -> unsigned long override
{
throw SocketError("not yet implemented");
}
static auto GetConstant(const std::string& constant) -> int;
~Socket() override;