Esempio n. 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);
        }
Esempio n. 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);
            });
        }
Esempio n. 3
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;
         });
 }
Esempio n. 4
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;
 }
Esempio n. 5
0
 /// <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);
 }
Esempio n. 6
0
 /// <remarks/>
 public void stopComponentAsync(FullyQualifiedComponentIDType stopComponentInput)
 {
     this.stopComponentAsync(stopComponentInput, null);
 }
Esempio n. 7
0
 /// <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);
 }
Esempio n. 8
0
 /// <remarks/>
 public void getComponentStatusAsync(FullyQualifiedComponentIDType getComponentStatusInput)
 {
     this.getComponentStatusAsync(getComponentStatusInput, null);
 }
Esempio n. 9
0
 /// <remarks/>
 public System.IAsyncResult BeginstopComponent(FullyQualifiedComponentIDType stopComponentInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("stopComponent", new object[] {
                 stopComponentInput}, callback, asyncState);
 }
Esempio n. 10
0
 /// <remarks/>
 public System.IAsyncResult BegingetComponentStatus(FullyQualifiedComponentIDType getComponentStatusInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("getComponentStatus", new object[] {
                 getComponentStatusInput}, callback, asyncState);
 }