client/Internal: move CLIENT_MAX_* to class Client

This commit is contained in:
Max Kellermann
2019-04-03 21:28:46 +02:00
parent 38298e0cd8
commit 772aa4f165
3 changed files with 7 additions and 6 deletions

View File

@@ -83,6 +83,8 @@ public:
TagMask tag_mask = TagMask::All();
private:
static constexpr size_t MAX_SUBSCRIPTIONS = 16;
/**
* A list of channel names this client is subscribed to.
*/
@@ -94,6 +96,8 @@ private:
*/
unsigned num_subscriptions = 0;
static constexpr size_t MAX_MESSAGES = 64;
/**
* A list of messages this client has received.
*/