Sync Event

This event fires upon a complete information synchronization with the server.

Syntax

ANSI (Cross Platform)
virtual int FireSync(XMPPSyncEventParams *e);
typedef struct { int reserved; } XMPPSyncEventParams; Unicode (Windows) virtual INT FireSync(XMPPSyncEventParams *e);
typedef struct { INT reserved; } XMPPSyncEventParams;
- (void)onSync;
#define EID_XMPP_SYNC 16

virtual INT IPWORKSMQ_CALL FireSync();

Remarks

The Sync event will fire after each successful call to the RetrieveRoster method. When the event fires, the buddy list, or roster, will be completely retrieved and the Buddies properties will be filled out accordingly:

Id the jabber ids associated with the buddies
Group the group associated with each entry (if a buddy is in more than one group, they will have multiple entries in the buddy list)
Subscription the subscription type for each buddy

Please refer to Buddies properties property for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8155]