public SipService(ServiceManager serviceManager) { this.preferences = new Preferences(); this.sipCallback = new MySipCallback(this); this.debugCallback = new MySipDebugCallback(); this.subPresence = new List<MySubscriptionSession>(); this.manager = serviceManager; }
public XcapService(ServiceManager manager) { #if ASYNCHRONOUSLY this.callback = new MyAsyncXcapCallback(this); #else this.callback = new MySyncXcapCallback(this); #endif this.xcapDocumentsUris = new Dictionary<String, String>(); this.manager = manager; this.ready = false; }
public HistoryService(ServiceManager manager) { this.manager = manager; this.loading = false; this.deferredSaveTimer = new Timer(2500); this.deferredSaveTimer.AutoReset = false; this.deferredSaveTimer.Elapsed += delegate { //this.manager.Dispatcher.Invoke((System.Threading.ThreadStart)delegate //{ this.ImmediateSave(); //}, null); }; this.xmlSerializer = new XmlSerializer(typeof(MyObservableCollection<HistoryEvent>)); }
public ContactService(ServiceManager manager) { this.contacts = new MyObservableCollection<Contact>(true); this.groups = new MyObservableCollection<Group>(); this.manager = manager; this.deferredSaveTimer = new System.Timers.Timer(2500); this.deferredSaveTimer.AutoReset = false; this.deferredSaveTimer.Elapsed += delegate { //this.manager.Dispatcher.Invoke((System.Threading.ThreadStart)delegate //{ this.ImmediateSave(); //}, null); }; this.xmlContactSerializer = new XmlSerializer(typeof(MyObservableCollection<Contact>)); this.xmlGroupSerializer = new XmlSerializer(typeof(MyObservableCollection<Group>)); }
public SoundService(ServiceManager manager) { this.manager = manager; }
public SipService(ServiceManager serviceManager) { mPreferences = new Preferences(); mSubPresence = new List<MySubscriptionSession>(); mManager = serviceManager; }
public SipService(ServiceManager serviceManager) { mPreferences = new Preferences(); mSubPresence = new List <MySubscriptionSession>(); mManager = serviceManager; }