Basic login parse.
This commit is contained in:
parent
7deee3240b
commit
26b8206332
2 changed files with 32 additions and 0 deletions
|
@ -58,6 +58,7 @@ public:
|
|||
private:
|
||||
constexpr static size_t kRecvBufSize = 4096;
|
||||
|
||||
bool parseLogin(const json_t *result, int *code);
|
||||
int resolve(const char *host);
|
||||
void close();
|
||||
void connect(struct sockaddr *addr);
|
||||
|
@ -75,6 +76,7 @@ private:
|
|||
static Client *getClient(void *data);
|
||||
|
||||
char *m_host;
|
||||
char m_rpcId[64];
|
||||
IClientListener *m_listener;
|
||||
int64_t m_retries;
|
||||
int64_t m_sequence;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue