public SimpleTU(SimpleModule simpleModule) { this.dialogManager = new DialogManager(); this.simpleModule = simpleModule; this.simpleModule.NotifyEvent += SimpleModule_NotifyEvent; this.simpleModule.SubscriptionRemovedEvent += SimpleModule_SubscriptionRemovedEvent; this.notifyProducer = new ProducedRequest(this); }
public TrunkTU(TrunkManager trunkManager) { this.registerTimer = new MultiTimerEx<int>(RegisterTimer, 64); this.trunkManager = trunkManager; this.trunkManager.TrunkAdded += TrunkManager_TrunkAdded; this.trunkManager.TrunkRemoved += TrunkManager_TrunkRemoved; this.trunkManager.TrunkUpdated += trunkManager_TrunkUpdated; this.registerProducer = new ProducedRequest(this) { IncomingResponse = ProccessResponse, TransportError = ProccessTransportError, }; }
public TrunkTU(TrunkManager trunkManager) { this.registerTimer = new MultiTimerEx <int>(RegisterTimer, 64); this.trunkManager = trunkManager; this.trunkManager.TrunkAdded += TrunkManager_TrunkAdded; this.trunkManager.TrunkRemoved += TrunkManager_TrunkRemoved; this.trunkManager.TrunkUpdated += trunkManager_TrunkUpdated; this.registerProducer = new ProducedRequest(this) { IncomingResponse = ProccessResponse, TransportError = ProccessTransportError, }; }
public ProxyServerTU(ILocationService locationService, ITrunkManager trunkManager, int delayTimerC, IAccounts accounts) { this.IsOfficeSIPFiletransferEnabled = true; this.locationService = locationService; this.trunkManager = trunkManager; this.accounts = accounts; this.requestProducer = new ProducedRequest(this) { IncomingResponse = ProccessResponse, TransportError = ProccessTransportError, ProduceAck = ProduceAck, }; this.clientTransactionIds = new ThreadSafe.Dictionary <int, int>(new Dictionary <int, int>(16384 * 3)); this.requestProxyes = new ThreadSafe.Dictionary <int, RequestProxy>(new Dictionary <int, RequestProxy>(16384)); this.timerC = new MultiTimerEx <ServerClientId>(TimerC, 16384, delayTimerC); }
public MessageSummaryTU() { dialogManager = new DialogManager(); notifyProducer = new ProducedRequest(this); }
public void OnIncomingResponse(ProducedRequest router, IncomingMessageEx message) { router.OnIncomingResponse(message); }