- Timestamp:
- 01/07/09 16:52:16 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs
r1002 r1087 353 353 354 354 HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result); 355 356 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse")] 357 void ShutdownClient(); 358 359 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse")] 360 System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState); 361 362 void EndShutdownClient(System.IAsyncResult result); 355 363 } 356 364 … … 450 458 private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate; 451 459 460 private BeginOperationDelegate onBeginShutdownClientDelegate; 461 462 private EndOperationDelegate onEndShutdownClientDelegate; 463 464 private System.Threading.SendOrPostCallback onShutdownClientCompletedDelegate; 465 452 466 public ClientConsoleCommunicatorClient() { 453 467 } … … 478 492 479 493 public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted; 494 495 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShutdownClientCompleted; 480 496 481 497 public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() { … … 718 734 base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState); 719 735 } 736 737 public void ShutdownClient() { 738 base.Channel.ShutdownClient(); 739 } 740 741 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 742 public System.IAsyncResult BeginShutdownClient(System.AsyncCallback callback, object asyncState) { 743 return base.Channel.BeginShutdownClient(callback, asyncState); 744 } 745 746 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 747 public void EndShutdownClient(System.IAsyncResult result) { 748 base.Channel.EndShutdownClient(result); 749 } 750 751 private System.IAsyncResult OnBeginShutdownClient(object[] inValues, System.AsyncCallback callback, object asyncState) { 752 return this.BeginShutdownClient(callback, asyncState); 753 } 754 755 private object[] OnEndShutdownClient(System.IAsyncResult result) { 756 this.EndShutdownClient(result); 757 return null; 758 } 759 760 private void OnShutdownClientCompleted(object state) { 761 if ((this.ShutdownClientCompleted != null)) { 762 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); 763 this.ShutdownClientCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState)); 764 } 765 } 766 767 public void ShutdownClientAsync() { 768 this.ShutdownClientAsync(null); 769 } 770 771 public void ShutdownClientAsync(object userState) { 772 if ((this.onBeginShutdownClientDelegate == null)) { 773 this.onBeginShutdownClientDelegate = new BeginOperationDelegate(this.OnBeginShutdownClient); 774 } 775 if ((this.onEndShutdownClientDelegate == null)) { 776 this.onEndShutdownClientDelegate = new EndOperationDelegate(this.OnEndShutdownClient); 777 } 778 if ((this.onShutdownClientCompletedDelegate == null)) { 779 this.onShutdownClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutdownClientCompleted); 780 } 781 base.InvokeAsync(this.onBeginShutdownClientDelegate, null, this.onEndShutdownClientDelegate, this.onShutdownClientCompletedDelegate, userState); 782 } 720 783 } 721 784 } -
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/service.wsdl
r973 r1087 72 72 <wsdl:part name="parameters" element="tns:GetCurrentConnectionResponse" /> 73 73 </wsdl:message> 74 <wsdl:message name="IClientConsoleCommunicator_ShutdownClient_InputMessage"> 75 <wsdl:part name="parameters" element="tns:ShutdownClient" /> 76 </wsdl:message> 77 <wsdl:message name="IClientConsoleCommunicator_ShutdownClient_OutputMessage"> 78 <wsdl:part name="parameters" element="tns:ShutdownClientResponse" /> 79 </wsdl:message> 74 80 <wsdl:portType name="IClientConsoleCommunicator"> 75 81 <wsdl:operation name="GetStatusInfos"> … … 92 98 <wsdl:input wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection" message="tns:IClientConsoleCommunicator_GetCurrentConnection_InputMessage" /> 93 99 <wsdl:output wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse" message="tns:IClientConsoleCommunicator_GetCurrentConnection_OutputMessage" /> 100 </wsdl:operation> 101 <wsdl:operation name="ShutdownClient"> 102 <wsdl:input wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient" message="tns:IClientConsoleCommunicator_ShutdownClient_InputMessage" /> 103 <wsdl:output wsaw:Action="http://tempuri.org/IClientConsoleCommunicator/ShutdownClientResponse" message="tns:IClientConsoleCommunicator_ShutdownClient_OutputMessage" /> 94 104 </wsdl:operation> 95 105 </wsdl:portType> … … 143 153 </wsdl:output> 144 154 </wsdl:operation> 155 <wsdl:operation name="ShutdownClient"> 156 <soap12:operation soapAction="http://tempuri.org/IClientConsoleCommunicator/ShutdownClient" style="document" /> 157 <wsdl:input> 158 <soap12:body use="literal" /> 159 </wsdl:input> 160 <wsdl:output> 161 <soap12:body use="literal" /> 162 </wsdl:output> 163 </wsdl:operation> 145 164 </wsdl:binding> 146 165 <wsdl:service name="ClientConsoleCommunicator"> -
trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/service.xsd
r973 r1087 60 60 </xs:complexType> 61 61 </xs:element> 62 <xs:element name="ShutdownClient"> 63 <xs:complexType> 64 <xs:sequence /> 65 </xs:complexType> 66 </xs:element> 67 <xs:element name="ShutdownClientResponse"> 68 <xs:complexType> 69 <xs:sequence /> 70 </xs:complexType> 71 </xs:element> 62 72 </xs:schema>
Note: See TracChangeset
for help on using the changeset viewer.