public SIPPresenceEventSubscription( SIPMonitorLogDelegate log, string sessionID, SIPURI resourceURI, SIPURI canonincalResourceURI, string filter, SIPDialogue subscriptionDialogue, int expiry, //SIPAssetPersistor<SIPAccount> sipAccountPersistor, //GetSIPAccountListDelegate getSipAccountsExternal, GetSIPAccountsForUserDelegate getSIPAccountsForUser, GetSIPAccountsForOwnerDelegate getSIPAccountsForOwner, SIPAssetGetPropertyByIdDelegate <SIPAccount> getSipAccountPropertyExternal, SIPRegistrarBindingsCountDelegate getBindingsCount, bool switchboardSIPAccountsOnly ) : base(log, sessionID, resourceURI, canonincalResourceURI, filter, subscriptionDialogue, expiry) { GetSIPAccountsForUser_External = getSIPAccountsForUser; GetSIPAccountsForOwner_External = getSIPAccountsForOwner; GetSipAccountProperty_External = getSipAccountPropertyExternal; GetSIPRegistrarBindingsCount_External = getBindingsCount; Presence = new SIPEventPresence(resourceURI); m_switchboardSIPAccountsOnly = switchboardSIPAccountsOnly; }
public SIPPresenceEventSubscription( SIPMonitorLogDelegate log, string sessionID, SIPURI resourceURI, SIPURI canonincalResourceURI, string filter, SIPDialogue subscriptionDialogue, int expiry, SIPAssetPersistor<SIPAccount> sipAccountPersistor, SIPAssetCountDelegate<SIPRegistrarBinding> getBindingsCount, bool switchboardSIPAccountsOnly ) : base(log, sessionID, resourceURI, canonincalResourceURI, filter, subscriptionDialogue, expiry) { m_sipAccountPersistor = sipAccountPersistor; GetSIPRegistrarBindingsCount_External = getBindingsCount; Presence = new SIPEventPresence(resourceURI); m_switchboardSIPAccountsOnly = switchboardSIPAccountsOnly; }