diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-04-01 18:23:57 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-04-01 18:52:08 +0300 |
commit | a706ec44ad2e6260f9e2879df62762e1f1f21ec7 (patch) | |
tree | 8719bebb0267831fe891971797ba5e2492f99f92 /protocols/JabberG/src/jabber_strm_mgmt.h | |
parent | 92d2ed7d3be93fbc8fb76be75be4145e69b73335 (diff) |
protocols: jabber: xep-0198
- few logic bugs fixed
- started resumption implementation
Diffstat (limited to 'protocols/JabberG/src/jabber_strm_mgmt.h')
-rwxr-xr-x | protocols/JabberG/src/jabber_strm_mgmt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_strm_mgmt.h b/protocols/JabberG/src/jabber_strm_mgmt.h index 2bb770df77..10a659cde3 100755 --- a/protocols/JabberG/src/jabber_strm_mgmt.h +++ b/protocols/JabberG/src/jabber_strm_mgmt.h @@ -31,12 +31,13 @@ class strm_mgmt {
void OnProcessSMa(HXML node);
void OnProcessSMr(HXML node);
+ void ResendNodes(uint32_t count);
CJabberProto *proto;
uint32_t m_nStrmMgmtSrvHCount, m_nStrmMgmtLocalHCount, m_nStrmMgmtLocalSCount, m_nStrmMgmtResumeMaxSeconds;
const uint32_t m_nStrmMgmtCacheSize = 10;
- bool m_bStrmMgmtPendingEnable, m_bStrmMgmtEnabled, m_bStrmMgmtResumeSupported;
+ bool m_bStrmMgmtPendingEnable, m_bStrmMgmtEnabled, m_bStrmMgmtResumeSupported, bSessionResumed;
std::wstring m_sStrmMgmtResumeId;
std::list<HXML> NodeCache;
@@ -46,6 +47,7 @@ public: void HandleOutgoingNode(HXML node);
void HandleIncommingNode(HXML node);
void OnProcessEnabled(HXML node, ThreadData *info);
+ void OnProcessResumed(HXML node, ThreadData *info);
void OnProcessFailed(HXML node, ThreadData * info);
void CheckStreamFeatures(HXML node);
void CheckState();
|