//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public OmemoHelper(XmppConnection connection, IExtendedOmemoStorage omemoStorage) { CONNECTION = connection; OMEMO_STORAGE = omemoStorage; reset(); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- /// <summary> /// Basic Constructor /// </summary> /// <history> /// 15/08/2018 Created [Fabian Sauter] /// </history> public DiscoFeatureHelper(XmppConnection connection) { CONNECTION = connection; connection.ConnectionStateChanged += Connection_ConnectionStateChanged; discoMessageResponseHelper = null; carbonsMessageResponseHelper = null; }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- /// <summary> /// Basic Constructor /// </summary> /// <history> /// 06/08/2018 Created [Fabian Sauter] /// </history> public OmemoHelper(XmppConnection connection, IOmemoStore omemoStore) { CONNECTION = connection; OMEMO_STORE = omemoStore; OMEMO_SESSIONS = new Dictionary <string, OmemoSession>(); MESSAGE_CACHE = new Dictionary <string, Tuple <List <OmemoMessageMessage>, OmemoSessionBuildHelper> >(); reset(); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public DiscoFeatureHelper(XmppConnection connection) { CONNECTION = connection; }