Changeset 1450
- Timestamp:
- 03/27/09 14:31:57 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/HeuristicLab.Hive.Client.Communication.csproj
r1449 r1450 128 128 <None Include="Service References\ServerService\HeuristicLab.Hive.Contracts.BusinessObjects1.xsd" /> 129 129 <None Include="Service References\ServerService\HeuristicLab.Hive.Contracts1.xsd" /> 130 <None Include="Service References\ServerService\HeuristicLab.PluginInfrastructure.xsd" /> 130 131 <None Include="Service References\ServerService\Reference.svcmap"> 131 132 <Generator>WCF Proxy Generator</Generator> -
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/HeuristicLab.Hive.Contracts1.xsd
r1449 r1450 3 3 <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> 4 4 <xs:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" /> 5 <xs:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" /> 5 6 <xs:complexType name="Response"> 6 7 <xs:sequence> … … 71 72 <xs:extension base="tns:Response"> 72 73 <xs:sequence> 73 <xs:element minOccurs="0" name="Plugins" nillable="true" type="xs:base64Binary" />74 <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" minOccurs="0" name="Plugins" nillable="true" type="q2:ArrayOfCachedPlugin" /> 74 75 </xs:sequence> 75 76 </xs:extension> -
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.cs
r1449 r1450 85 85 86 86 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientCommunicator/SendPlugins", ReplyAction="http://tempuri.org/IClientCommunicator/SendPluginsResponse")] 87 HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins( string[] pluginList);87 HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins(HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList); 88 88 89 89 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientCommunicator/SendPlugins", ReplyAction="http://tempuri.org/IClientCommunicator/SendPluginsResponse")] 90 System.IAsyncResult BeginSendPlugins( string[] pluginList, System.AsyncCallback callback, object asyncState);90 System.IAsyncResult BeginSendPlugins(HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList, System.AsyncCallback callback, object asyncState); 91 91 92 92 HeuristicLab.Hive.Contracts.ResponsePlugin EndSendPlugins(System.IAsyncResult result); … … 702 702 } 703 703 704 public HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins( string[] pluginList) {704 public HeuristicLab.Hive.Contracts.ResponsePlugin SendPlugins(HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList) { 705 705 return base.Channel.SendPlugins(pluginList); 706 706 } 707 707 708 708 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 709 public System.IAsyncResult BeginSendPlugins( string[] pluginList, System.AsyncCallback callback, object asyncState) {709 public System.IAsyncResult BeginSendPlugins(HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList, System.AsyncCallback callback, object asyncState) { 710 710 return base.Channel.BeginSendPlugins(pluginList, callback, asyncState); 711 711 } … … 717 717 718 718 private System.IAsyncResult OnBeginSendPlugins(object[] inValues, System.AsyncCallback callback, object asyncState) { 719 string[] pluginList = ((string[])(inValues[0]));719 HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList = ((HeuristicLab.PluginInfrastructure.PluginInfo[])(inValues[0])); 720 720 return this.BeginSendPlugins(pluginList, callback, asyncState); 721 721 } … … 734 734 } 735 735 736 public void SendPluginsAsync( string[] pluginList) {736 public void SendPluginsAsync(HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList) { 737 737 this.SendPluginsAsync(pluginList, null); 738 738 } 739 739 740 public void SendPluginsAsync( string[] pluginList, object userState) {740 public void SendPluginsAsync(HeuristicLab.PluginInfrastructure.PluginInfo[] pluginList, object userState) { 741 741 if ((this.onBeginSendPluginsDelegate == null)) { 742 742 this.onBeginSendPluginsDelegate = new BeginOperationDelegate(this.OnBeginSendPlugins); -
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/Reference.svcmap
r1449 r1450 29 29 <MetadataFile FileName="Arrays1.xsd" MetadataType="Schema" ID="53f47e2f-ca2b-4f21-9457-037e222fefaf" SourceId="1" SourceUrl="net.tcp://10.20.53.7:9000/HiveServer/mex" /> 30 30 <MetadataFile FileName="System1.xsd" MetadataType="Schema" ID="6a87c5f1-b08b-4dea-b2b3-bd10a1f13d52" SourceId="1" SourceUrl="net.tcp://10.20.53.7:9000/HiveServer/mex" /> 31 <MetadataFile FileName="HeuristicLab.PluginInfrastructure.xsd" MetadataType="Schema" ID="2dafc69c-27f2-456d-80d7-303362ac8b68" SourceId="1" SourceUrl="net.tcp://10.20.53.3:9000/HiveServer/mex" /> 31 32 </Metadata> 32 33 <Extensions> -
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/System1.xsd
r1007 r1450 9 9 </xs:complexType> 10 10 <xs:element name="Exception" nillable="true" type="tns:Exception" /> 11 <xs:complexType name="Version"> 12 <xs:sequence> 13 <xs:element name="_Build" type="xs:int" /> 14 <xs:element name="_Major" type="xs:int" /> 15 <xs:element name="_Minor" type="xs:int" /> 16 <xs:element name="_Revision" type="xs:int" /> 17 </xs:sequence> 18 </xs:complexType> 19 <xs:element name="Version" nillable="true" type="tns:Version" /> 11 20 </xs:schema> -
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/service1.wsdl
r1449 r1450 26 26 <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> 27 27 <xsd:import namespace="http://schemas.datacontract.org/2004/07/System" /> 28 <xsd:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" /> 28 29 </xsd:schema> 29 30 </wsdl:types> -
trunk/sources/HeuristicLab.Hive.Client.Communication/Service References/ServerService/service2.xsd
r1449 r1450 5 5 <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> 6 6 <xs:import namespace="http://schemas.datacontract.org/2004/07/System" /> 7 <xs:import namespace="http://schemas. microsoft.com/2003/10/Serialization/Arrays" />7 <xs:import namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" /> 8 8 <xs:element name="Login"> 9 9 <xs:complexType> … … 115 115 <xs:complexType> 116 116 <xs:sequence> 117 <xs:element xmlns:q1 9="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="pluginList" nillable="true" type="q19:ArrayOfstring" />117 <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/HeuristicLab.PluginInfrastructure" minOccurs="0" name="pluginList" nillable="true" type="q16:ArrayOfPluginInfo" /> 118 118 </xs:sequence> 119 119 </xs:complexType> -
trunk/sources/HeuristicLab.Hive.Client.Communication/WcfService.cs
r1449 r1450 30 30 using HeuristicLab.Hive.Client.Common; 31 31 using HeuristicLab.Hive.Client.Communication.ServerService; 32 using HeuristicLab.PluginInfrastructure; 32 33 33 34 namespace HeuristicLab.Hive.Client.Communication { … … 249 250 250 251 public ResponseResultReceived SendStoredJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 251 return proxy.StoreFinishedJobResult(clientId, jobId, result, percentage, exception); 252 } 252 return proxy.StoreFinishedJobResult(clientId, jobId, result, percentage, exception); 253 } 254 255 public List<CachedPlugin> RequestPlugins(List<PluginInfo> requestedPlugins) { 256 try { 257 return proxy.SendPlugins(requestedPlugins.ToArray()).Plugins; 258 } 259 catch (Exception e) { 260 HandleNetworkError(e); 261 return null; 262 } 263 } 264 253 265 } 254 266 } -
trunk/sources/HeuristicLab.Hive.Client.Core/HeuristicLab.Hive.Client.Core.csproj
r1377 r1450 84 84 <Compile Include="JobStorage\JobStorageInfo.cs" /> 85 85 <Compile Include="JobStorage\JobStorageManager.cs" /> 86 <Compile Include="PluginCache.cs" /> 86 87 <Compile Include="Properties\AssemblyInfo.cs" /> 87 88 <Compile Include="Properties\Settings.Designer.cs">
Note: See TracChangeset
for help on using the changeset viewer.