void RegHttpServer(object httpUri) { try { objHttpAudio = new clsHttpAudio(); ((clsHttpAudio)objHttpAudio).EntsvcJoin += new clsHttpAudio.DelsvcJoin(AudioDummy_EntsvcJoin); ((clsHttpAudio)objHttpAudio).EntsvcGetConference += new clsHttpAudio.DelsvcGetConference(AudioDummy_EntsvcGetConference); ((clsHttpAudio)objHttpAudio).EntsvcStartConference += new clsHttpAudio.DelsvcStartConference(AudioDummy_EntsvcStartConference); ((clsHttpAudio)objHttpAudio).EntsvcUnjoin += new clsHttpAudio.DelsvcUnJoin(AudioDummy_EntsvcUnjoin); HttpAudioServer = new VMuktiService.BasicHttpServer(ref objHttpAudio, httpUri.ToString()); HttpAudioServer.AddEndPoint<AutoProgressivePhone.Business.Service.BasicHttp.IHttpAudio>(httpUri.ToString()); HttpAudioServer.OpenServer(); } catch (Exception ex) { ex.Data.Add("My Key", "VMukti--:--VmuktiModules--:--VmuktiModules--:--Call Center--:--AutoProgressiveSoftPhone--:--AutoProgressivePhone.Presentation--:--AudioDummy.cs--:--RegHttpServer()--"); ClsException.LogError(ex); ClsException.WriteToErrorLogFile(ex); //System.Windows.MessageBox.Show("RegHttpServer" + exp.Message); } }
void RegHttpServer(object httpUri) { try { objHttpAudio = new clsHttpAudio(); ((clsHttpAudio)objHttpAudio).EntsvcJoin += new clsHttpAudio.DelsvcJoin(AudioDummy_EntsvcJoin); ((clsHttpAudio)objHttpAudio).EntsvcGetConference += new clsHttpAudio.DelsvcGetConference(AudioDummy_EntsvcGetConference); ((clsHttpAudio)objHttpAudio).EntsvcStartConference += new clsHttpAudio.DelsvcStartConference(AudioDummy_EntsvcStartConference); ((clsHttpAudio)objHttpAudio).EntsvcUnjoin += new clsHttpAudio.DelsvcUnJoin(AudioDummy_EntsvcUnjoin); HttpAudioServer = new VMuktiService.BasicHttpServer(ref objHttpAudio, httpUri.ToString()); HttpAudioServer.AddEndPoint <AutoProgressivePhone.Business.Service.BasicHttp.IHttpAudio>(httpUri.ToString()); HttpAudioServer.OpenServer(); } catch (Exception ex) { ex.Data.Add("My Key", "VMukti--:--VmuktiModules--:--VmuktiModules--:--Call Center--:--AutoProgressiveSoftPhone--:--AutoProgressivePhone.Presentation--:--AudioDummy.cs--:--RegHttpServer()--"); ClsException.LogError(ex); ClsException.WriteToErrorLogFile(ex); //System.Windows.MessageBox.Show("RegHttpServer" + exp.Message); } }
private void Dispose(bool disposing) { try { lstMessage = null; UserName = null;; myMeshId = null;; objHttpAudio = null; objNetTcpAudio = null; HttpAudioServer = null; NetTcpAudioChannel = null;; HttpThread = null; NetTcpThread = null; VMuktiAPI.ClsException.WriteToLogFile("Audio Dummy is Disposed"); } catch (Exception ex) { VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "Dispose()", "AudioDummy.cs"); } }
void RegHttpServer(object httpUri) { //lock (this) //{ try { objHttpAudio = new clsHttpAudio(); ((clsHttpAudio)objHttpAudio).EntsvcJoin += new clsHttpAudio.DelsvcJoin(AudioDummy_EntsvcJoin); ((clsHttpAudio)objHttpAudio).EntsvcGetConference += new clsHttpAudio.DelsvcGetConference(AudioDummy_EntsvcGetConference); ((clsHttpAudio)objHttpAudio).EntsvcStartConference += new clsHttpAudio.DelsvcStartConference(AudioDummy_EntsvcStartConference); ((clsHttpAudio)objHttpAudio).EntsvcSetUserList += new clsHttpAudio.delsvcSetUserList(AudioDummy_EntsvcSetUserList); ((clsHttpAudio)objHttpAudio).EntsvcGetUserList += new clsHttpAudio.delsvcGetUserList(AudioDummy_EntsvcGetUserList); ((clsHttpAudio)objHttpAudio).EntsvcSignOutAudio += new clsHttpAudio.delsvcSignOutAudio(AudioDummy_EntsvcSignOutAudio); ((clsHttpAudio)objHttpAudio).EntsvcUnjoin += new clsHttpAudio.DelsvcUnJoin(AudioDummy_EntsvcUnjoin); HttpAudioServer = new VMuktiService.BasicHttpServer(ref objHttpAudio, httpUri.ToString()); HttpAudioServer.AddEndPoint <Audio.Business.Service.BasicHttp.IHttpAudio>(httpUri.ToString()); HttpAudioServer.OpenServer(); } catch (Exception ex) { VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "RegHttpServer()", "AudioDummy.cs"); } }
void RegHttpServer(object httpUri) { //lock (this) //{ try { objHttpAudio = new clsHttpAudio(); ((clsHttpAudio)objHttpAudio).EntsvcJoin += new clsHttpAudio.DelsvcJoin(AudioDummy_EntsvcJoin); ((clsHttpAudio)objHttpAudio).EntsvcGetConference += new clsHttpAudio.DelsvcGetConference(AudioDummy_EntsvcGetConference); ((clsHttpAudio)objHttpAudio).EntsvcStartConference += new clsHttpAudio.DelsvcStartConference(AudioDummy_EntsvcStartConference); ((clsHttpAudio)objHttpAudio).EntsvcSetUserList += new clsHttpAudio.delsvcSetUserList(AudioDummy_EntsvcSetUserList); ((clsHttpAudio)objHttpAudio).EntsvcGetUserList += new clsHttpAudio.delsvcGetUserList(AudioDummy_EntsvcGetUserList); ((clsHttpAudio)objHttpAudio).EntsvcSignOutAudio += new clsHttpAudio.delsvcSignOutAudio(AudioDummy_EntsvcSignOutAudio); ((clsHttpAudio)objHttpAudio).EntsvcUnjoin += new clsHttpAudio.DelsvcUnJoin(AudioDummy_EntsvcUnjoin); HttpAudioServer = new VMuktiService.BasicHttpServer(ref objHttpAudio, httpUri.ToString()); HttpAudioServer.AddEndPoint<Audio.Business.Service.BasicHttp.IHttpAudio>(httpUri.ToString()); HttpAudioServer.OpenServer(); } catch (Exception ex) { VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "RegHttpServer()", "AudioDummy.cs"); } }
private void Dispose(bool disposing) { try { lstMessage = null; UserName = null; ; myMeshId = null; ; objHttpAudio = null; objNetTcpAudio = null; HttpAudioServer = null; NetTcpAudioChannel = null; ; HttpThread = null; NetTcpThread = null; VMuktiAPI.ClsException.WriteToLogFile("Audio Dummy is Disposed"); } catch (Exception ex) { VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "Dispose()", "AudioDummy.cs"); } }