Exemplo n.º 1
0
 public LineControl GetLineControl(LineControl lc)
 {
     object[] results = this.Invoke("GetLineControl", new object[] {
         lc
     });
     return((LineControl)(results[0]));
 }
Exemplo n.º 2
0
 /// <remarks/>
 public void GetLineControlAsync(LineControl lc, object userState)
 {
     if ((this.GetLineControlOperationCompleted == null))
     {
         this.GetLineControlOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLineControlOperationCompleted);
     }
     this.InvokeAsync("GetLineControl", new object[] {
         lc
     }, this.GetLineControlOperationCompleted, userState);
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void GetLineControlAsync(LineControl lc)
 {
     this.GetLineControlAsync(lc, null);
 }
Exemplo n.º 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetLineControl(LineControl lc, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("GetLineControl", new object[] {
         lc
     }, callback, asyncState));
 }
Exemplo n.º 5
0
 public abstract LineControl GetLineControl(LineControl lc);
Exemplo n.º 6
0
 public static LineControl GetLineControl(LineControl lc)
 {
     return _provider.GetLineControl(lc);
 }
Exemplo n.º 7
0
 public override LineControl GetLineControl(LineControl lc)
 {
     return _lcs.GetLineControl(lc);
 }
Exemplo n.º 8
0
 /// <remarks/>
 public void GetLineControlAsync(LineControl lc) {
     this.GetLineControlAsync(lc, null);
 }
Exemplo n.º 9
0
 /// <remarks/>
 public void GetLineControlAsync(LineControl lc, object userState) {
     if ((this.GetLineControlOperationCompleted == null)) {
         this.GetLineControlOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLineControlOperationCompleted);
     }
     this.InvokeAsync("GetLineControl", new object[] {
                 lc}, this.GetLineControlOperationCompleted, userState);
 }
Exemplo n.º 10
0
 /// <remarks/>
 public System.IAsyncResult BeginGetLineControl(LineControl lc, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("GetLineControl", new object[] {
                 lc}, callback, asyncState);
 }
Exemplo n.º 11
0
 public LineControl GetLineControl(LineControl lc) {
     object[] results = this.Invoke("GetLineControl", new object[] {
                 lc});
     return ((LineControl)(results[0]));
 }
Exemplo n.º 12
0
 public LineControlResponse GetLineControl(LineControl lc, string token)
 {
     log.Debug("GetLineControl: " + lc.ToString());
     LineControl newlc = null;
     if (ValidateToken(token, lc.directoryNumber))
     {
         log.Debug("Token is valid...Retreive line control ("+lc.directoryNumber+") from LineControlService");
         try
         {
             newlc = LineControlService.GetLineControl(lc);
         }
         catch (Exception e)
         {
             log.Error("Unable to retreive lineControl from LineControlService: " + e.Message);
         }
     }
     return new LineControlResponse(newlc, AuthenticationService.UpdateToken(token));
 }
Exemplo n.º 13
0
 public LineControlResponse()
 {
     linecontrol = null;
     token = null;
 }
Exemplo n.º 14
0
 public LineControlResponse(LineControl lc, string tok)
 {
     linecontrol = lc;
     token = tok;
 }