Beispiel #1
0
 /// <summary>
 /// Constructor for the TapiManager
 /// </summary>
 /// <param name="appName">Application Name</param>
 /// <param name="ver">TapiVersion</param>
 public TapiManager(string appName, TapiVersion ver)
 {
     _appName      = appName;
     _lineVersion  = (int)ver;
     _phoneVersion = (int)ver;
     _lineArray    = new List <TapiLine>();
     _phoneArray   = new List <TapiPhone>();
 }
Beispiel #2
0
 /// <summary>
 /// Constructor for the TapiManager
 /// </summary>
 /// <param name="appName">Application Name</param>
 /// <param name="ver">TapiVersion</param>
 public TapiManager(string appName, TapiVersion ver)
 {
     _appName      = appName;
     _lineVersion  = (int)ver;
     _phoneVersion = (int)ver;
     _workerThread = new Thread(ProcessTapiMessages)
     {
         Name = "Tapi Message Processor"
     };
     _lineArray  = new List <TapiLine>();
     _phoneArray = new List <TapiPhone>();
 }