Changeset 840 for trunk/sources/HeuristicLab.Hive.Client.Communication
- Timestamp:
- 11/27/08 15:58:48 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Communication
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/ServerProxy.cs
r791 r840 34 34 35 35 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IClientCommunicator/SendJobResult", ReplyAction = "http://tempuri.org/IClientCommunicator/SendJobResultResponse")] 36 HeuristicLab.Hive.Contracts.Response SendJobResult(HeuristicLab.Hive.Contracts.BusinessObjects.JobResult Result, bool finished);36 HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(HeuristicLab.Hive.Contracts.BusinessObjects.JobResult Result, bool finished); 37 37 38 38 [System.ServiceModel.OperationContractAttribute(AsyncPattern = true, Action = "http://tempuri.org/IClientCommunicator/SendJobResult", ReplyAction = "http://tempuri.org/IClientCommunicator/SendJobResultResponse")] 39 39 System.IAsyncResult BeginSendJobResult(HeuristicLab.Hive.Contracts.BusinessObjects.JobResult Result, bool finished, System.AsyncCallback callback, object asyncState); 40 40 41 HeuristicLab.Hive.Contracts.Response EndSendJobResult(System.IAsyncResult result);41 HeuristicLab.Hive.Contracts.ResponseResultReceived EndSendJobResult(System.IAsyncResult result); 42 42 43 43 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IClientCommunicator/Logout", ReplyAction = "http://tempuri.org/IClientCommunicator/LogoutResponse")] … … 122 122 } 123 123 124 public HeuristicLab.Hive.Contracts.ResponseResultReceived Result { 125 get { 126 base.RaiseExceptionIfNecessary(); 127 return ((HeuristicLab.Hive.Contracts.ResponseResultReceived)(this.results[0])); 128 } 129 } 130 } 131 132 [System.Diagnostics.DebuggerStepThroughAttribute()] 133 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] 134 public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { 135 136 private object[] results; 137 138 public LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 139 base(exception, cancelled, userState) { 140 this.results = results; 141 } 142 124 143 public HeuristicLab.Hive.Contracts.Response Result { 125 144 get { … … 132 151 [System.Diagnostics.DebuggerStepThroughAttribute()] 133 152 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] 134 public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {135 136 private object[] results;137 138 public LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :139 base(exception, cancelled, userState) {140 this.results = results;141 }142 143 public HeuristicLab.Hive.Contracts.Response Result {144 get {145 base.RaiseExceptionIfNecessary();146 return ((HeuristicLab.Hive.Contracts.Response)(this.results[0]));147 }148 }149 }150 151 [System.Diagnostics.DebuggerStepThroughAttribute()]152 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]153 153 public partial class ClientCommunicatorClient : System.ServiceModel.ClientBase<IClientCommunicator>, IClientCommunicator { 154 154 … … 362 362 } 363 363 364 public HeuristicLab.Hive.Contracts.Response SendJobResult(HeuristicLab.Hive.Contracts.BusinessObjects.JobResult Result, bool finished) {364 public HeuristicLab.Hive.Contracts.ResponseResultReceived SendJobResult(HeuristicLab.Hive.Contracts.BusinessObjects.JobResult Result, bool finished) { 365 365 return base.Channel.SendJobResult(Result, finished); 366 366 } … … 372 372 373 373 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] 374 public HeuristicLab.Hive.Contracts.Response EndSendJobResult(System.IAsyncResult result) {374 public HeuristicLab.Hive.Contracts.ResponseResultReceived EndSendJobResult(System.IAsyncResult result) { 375 375 return base.Channel.EndSendJobResult(result); 376 376 } … … 383 383 384 384 private object[] OnEndSendJobResult(System.IAsyncResult result) { 385 HeuristicLab.Hive.Contracts.Response retVal = this.EndSendJobResult(result);385 HeuristicLab.Hive.Contracts.ResponseResultReceived retVal = this.EndSendJobResult(result); 386 386 return new object[] { 387 387 retVal}; … … 465 465 } 466 466 } 467 -
trunk/sources/HeuristicLab.Hive.Client.Communication/ServiceLocator.cs
r819 r840 13 13 proxy = new ClientCommunicatorClient( 14 14 new NetTcpBinding(), 15 new EndpointAddress("net.tcp://10.20.53. 1:9000/HiveServer/ClientCommunicator")15 new EndpointAddress("net.tcp://10.20.53.3:9000/HiveServer/ClientCommunicator") 16 16 ); 17 17 }
Note: See TracChangeset
for help on using the changeset viewer.