Changes between Version 9 and Version 10 of pjsip-doc/account
- Timestamp:
- May 31, 2018 9:24:07 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pjsip-doc/account
v9 v10 22 22 public: 23 23 MyAccount() {} 24 ~MyAccount() {} 24 ~MyAccount() 25 { 26 // Invoke shutdown() first.. 27 shutdown(); 28 // ..before deleting any member objects. 29 } 25 30 26 31 virtual void onRegState(OnRegStateParam &prm) … … 52 57 - incoming instant message not from buddy 53 58 54 Application needs to override the relevant callback methods in the derived class to handle these particular events. 59 Application needs to override the relevant callback methods in the derived class to handle these particular events. Please also note that the derived class should call shutdown() in the beginning stage in its destructor, or alternatively application should call shutdown() before deleting the derived class instance. This is to avoid race condition between the derived class destructor and Account callbacks. 55 60 56 61 If the events are not handled, default actions will be invoked: