Network code cleanup (WIP).
This commit is contained in:
parent
169fad3a5c
commit
6370d71ebe
7 changed files with 174 additions and 178 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
|
||||
protected:
|
||||
inline bool isEnabled() const override { return m_enabled; }
|
||||
inline const char *tag() const override { return m_tag.c_str(); }
|
||||
inline const Job &job() const override { return m_job; }
|
||||
inline const Pool &pool() const override { return m_pool; }
|
||||
inline const String &ip() const override { return m_ip; }
|
||||
|
@ -96,6 +97,7 @@ protected:
|
|||
SocketState m_state = UnconnectedState;
|
||||
std::map<int64_t, SendResult> m_callbacks;
|
||||
std::map<int64_t, SubmitResult> m_results;
|
||||
std::string m_tag;
|
||||
String m_ip;
|
||||
String m_password;
|
||||
String m_rigId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue