Пример #1
0
 ///<summary>
 /// Asynchronous invoker for  'NFX.Instrumentation.Telemetry.ITelemetryReceiver.Send'.
 /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
 /// there is no result that server could return back to the caller.
 /// CallSlot is returned that can be queried for CallStatus, ResponseMsg.
 ///</summary>
 public CallSlot Async_Send(@System.@String  @siteName, @NFX.@Instrumentation.@Datum  @data)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Send_0, true, RemoteInstance, new object[]{@siteName, @data});
     return DispatchCall(request);
 }
Пример #2
0
 ///<summary>
 /// Asynchronous invoker for  'NFX.NUnit.Glue.ITestContractB.SetPersonOfTheDay'.
 /// This is a two-way call per contract specification, meaning - the server sends the result back either
 ///  returning no exception or RemoteExceptionData instance.
 /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result.
 ///</summary>
 public CallSlot Async_SetPersonOfTheDay(@NFX.@NUnit.@Glue.@PersonData  @person)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_SetPersonOfTheDay_0, false, RemoteInstance, new object[]{@person});
     return DispatchCall(request);
 }
Пример #3
0
 ///<summary>
 /// Synchronous invoker for  'NFX.Instrumentation.Telemetry.ITelemetryReceiver.Send'.
 /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and
 /// there is no result that server could return back to the caller.
 /// ClientCallException is thrown if the call could not be placed in the outgoing queue.
 ///</summary>
 public void @Send(@System.@String  @siteName, @NFX.@Instrumentation.@Datum  @data)
 {
     var call = Async_Send(@siteName, @data);
     if (call.CallStatus != CallStatus.Dispatched)
         throw new ClientCallException(call.CallStatus, "Call failed: 'TelemetryReceiverClient.Send'");
 }
Пример #4
0
 ///<summary>
 /// Synchronous invoker for  'NFX.NUnit.Glue.ITestContractB.SetPersonOfTheDay'.
 /// This is a two-way call per contract specification, meaning - the server sends the result back either
 ///  returning no exception or RemoteExceptionData instance.
 /// ClientCallException is thrown if the call could not be placed in the outgoing queue.
 /// RemoteException is thrown if the server generated exception during method execution.
 ///</summary>
 public void @SetPersonOfTheDay(@NFX.@NUnit.@Glue.@PersonData  @person)
 {
     var call = Async_SetPersonOfTheDay(@person);
     call.CheckVoidValue();
 }