Beispiel #1
0
        public StatusType GetComponentStatus(string appId, string compId)
        {
            var component = new FullyQualifiedComponentIDType {
                applicationID = appId, componentID = compId
            };
            var status = (StatusType)ExecRetry(() => componentSvc.getComponentStatus(component));

            return(status);
        }
Beispiel #2
0
        public void StopComponent(string appId, string compId)
        {
            var component = new FullyQualifiedComponentIDType {
                applicationID = appId, componentID = compId
            };

            //componentSvc.stopComponent(component);
            ExecRetry(delegate
            {
                componentSvc.stopComponent(component);
                return(null);
            });
        }
 public void StopComponent(string appId, string compId)
 {
     var component = new FullyQualifiedComponentIDType {applicationID = appId, componentID = compId};
     //componentSvc.stopComponent(component);
     ExecRetry(delegate
         {
             componentSvc.stopComponent(component);
             return null;
         });
 }
 public StatusType GetComponentStatus(string appId, string compId)
 {
     var component = new FullyQualifiedComponentIDType {applicationID = appId, componentID = compId};
     var status = (StatusType) ExecRetry(() => componentSvc.getComponentStatus(component));
     return status;
 }
 /// <remarks/>
 public void stopComponentAsync(FullyQualifiedComponentIDType stopComponentInput, object userState)
 {
     if ((this.stopComponentOperationCompleted == null))
     {
         this.stopComponentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnstopComponentOperationCompleted);
     }
     this.InvokeAsync("stopComponent", new object[] {
                 stopComponentInput}, this.stopComponentOperationCompleted, userState);
 }
 /// <remarks/>
 public void stopComponentAsync(FullyQualifiedComponentIDType stopComponentInput)
 {
     this.stopComponentAsync(stopComponentInput, null);
 }
 /// <remarks/>
 public void getComponentStatusAsync(FullyQualifiedComponentIDType getComponentStatusInput, object userState)
 {
     if ((this.getComponentStatusOperationCompleted == null))
     {
         this.getComponentStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetComponentStatusOperationCompleted);
     }
     this.InvokeAsync("getComponentStatus", new object[] {
                 getComponentStatusInput}, this.getComponentStatusOperationCompleted, userState);
 }
 /// <remarks/>
 public void getComponentStatusAsync(FullyQualifiedComponentIDType getComponentStatusInput)
 {
     this.getComponentStatusAsync(getComponentStatusInput, null);
 }
 /// <remarks/>
 public System.IAsyncResult BeginstopComponent(FullyQualifiedComponentIDType stopComponentInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("stopComponent", new object[] {
                 stopComponentInput}, callback, asyncState);
 }
 /// <remarks/>
 public System.IAsyncResult BegingetComponentStatus(FullyQualifiedComponentIDType getComponentStatusInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("getComponentStatus", new object[] {
                 getComponentStatusInput}, callback, asyncState);
 }