Changeset 4342 for branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/Service References
- Timestamp:
- 08/30/10 13:47:43 (14 years ago)
- Location:
- branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/Service References/SlaveConsoleService
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/Service References/SlaveConsoleService/Reference.cs
r4320 r4342 346 346 void EndSetConnection(System.IAsyncResult result); 347 347 348 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse")]349 void Disconnect();350 351 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse")]352 System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState);353 354 void EndDisconnect(System.IAsyncResult result);355 356 348 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnectionResponse")] 357 349 HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer GetCurrentConnection(); … … 464 456 private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate; 465 457 466 private BeginOperationDelegate onBeginDisconnectDelegate;467 468 private EndOperationDelegate onEndDisconnectDelegate;469 470 private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;471 472 458 private BeginOperationDelegate onBeginGetCurrentConnectionDelegate; 473 459 … … 516 502 517 503 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted; 518 519 public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;520 504 521 505 public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted; … … 624 608 } 625 609 626 public void Disconnect() {627 base.Channel.Disconnect();628 }629 630 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]631 public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {632 return base.Channel.BeginDisconnect(callback, asyncState);633 }634 635 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]636 public void EndDisconnect(System.IAsyncResult result) {637 base.Channel.EndDisconnect(result);638 }639 640 private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {641 return this.BeginDisconnect(callback, asyncState);642 }643 644 private object[] OnEndDisconnect(System.IAsyncResult result) {645 this.EndDisconnect(result);646 return null;647 }648 649 private void OnDisconnectCompleted(object state) {650 if ((this.DisconnectCompleted != null)) {651 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));652 this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));653 }654 }655 656 public void DisconnectAsync() {657 this.DisconnectAsync(null);658 }659 660 public void DisconnectAsync(object userState) {661 if ((this.onBeginDisconnectDelegate == null)) {662 this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);663 }664 if ((this.onEndDisconnectDelegate == null)) {665 this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);666 }667 if ((this.onDisconnectCompletedDelegate == null)) {668 this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);669 }670 base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);671 }672 673 610 public HeuristicLab.Hive.Slave.Console.SlaveConsoleService.ConnectionContainer GetCurrentConnection() { 674 611 return base.Channel.GetCurrentConnection(); -
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/Service References/SlaveConsoleService/service.wsdl
r4320 r4342 33 33 <wsdl:part name="parameters" element="tns:SetConnectionResponse" /> 34 34 </wsdl:message> 35 <wsdl:message name="ISlaveConsoleCommunicator_Disconnect_InputMessage">36 <wsdl:part name="parameters" element="tns:Disconnect" />37 </wsdl:message>38 <wsdl:message name="ISlaveConsoleCommunicator_Disconnect_OutputMessage">39 <wsdl:part name="parameters" element="tns:DisconnectResponse" />40 </wsdl:message>41 35 <wsdl:message name="ISlaveConsoleCommunicator_GetCurrentConnection_InputMessage"> 42 36 <wsdl:part name="parameters" element="tns:GetCurrentConnection" /> … … 72 66 <wsdl:output wsaw:Action="http://tempuri.org/ISlaveConsoleCommunicator/SetConnectionResponse" message="tns:ISlaveConsoleCommunicator_SetConnection_OutputMessage" /> 73 67 </wsdl:operation> 74 <wsdl:operation name="Disconnect">75 <wsdl:input wsaw:Action="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect" message="tns:ISlaveConsoleCommunicator_Disconnect_InputMessage" />76 <wsdl:output wsaw:Action="http://tempuri.org/ISlaveConsoleCommunicator/DisconnectResponse" message="tns:ISlaveConsoleCommunicator_Disconnect_OutputMessage" />77 </wsdl:operation>78 68 <wsdl:operation name="GetCurrentConnection"> 79 69 <wsdl:input wsaw:Action="http://tempuri.org/ISlaveConsoleCommunicator/GetCurrentConnection" message="tns:ISlaveConsoleCommunicator_GetCurrentConnection_InputMessage" /> … … 108 98 <wsdl:operation name="SetConnection"> 109 99 <soap12:operation soapAction="http://tempuri.org/ISlaveConsoleCommunicator/SetConnection" style="document" /> 110 <wsdl:input>111 <soap12:body use="literal" />112 </wsdl:input>113 <wsdl:output>114 <soap12:body use="literal" />115 </wsdl:output>116 </wsdl:operation>117 <wsdl:operation name="Disconnect">118 <soap12:operation soapAction="http://tempuri.org/ISlaveConsoleCommunicator/Disconnect" style="document" />119 100 <wsdl:input> 120 101 <soap12:body use="literal" /> -
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/Service References/SlaveConsoleService/service.xsd
r4320 r4342 23 23 </xs:element> 24 24 <xs:element name="SetConnectionResponse"> 25 <xs:complexType>26 <xs:sequence />27 </xs:complexType>28 </xs:element>29 <xs:element name="Disconnect">30 <xs:complexType>31 <xs:sequence />32 </xs:complexType>33 </xs:element>34 <xs:element name="DisconnectResponse">35 25 <xs:complexType> 36 26 <xs:sequence />
Note: See TracChangeset
for help on using the changeset viewer.