///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetName'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@String' 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 @System.@String @GetName(@System.@Int32 @id, @System.@Nullable<@System.@DateTime> @startDate) { var call = Async_GetName(@id, @startDate); return call.GetValue<@System.@String>(); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.UnsecEchoMar'. /// 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_UnsecEchoMar(@System.@String @text) { var request = new @BusinessLogic.@RequestMsg_IJokeContract_UnsecEchoMar(s_ts_CONTRACT, @s_ms_UnsecEchoMar_2, false, RemoteInstance) { MethodArg_0_text = @text, }; return DispatchCall(request); }
///<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'"); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.Notify'. /// 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_Notify(@System.@String @text) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Notify_6, true, RemoteInstance, new object[]{@text}); return DispatchCall(request); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.SimpleWorkAny'. /// 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_SimpleWorkAny(@System.@String @s, @System.@Int32 @i1, @System.@Int32 @i2, @System.@Boolean @b, @System.@Double @d) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_SimpleWorkAny_3, false, RemoteInstance, new object[]{@s, @i1, @i2, @b, @d}); return DispatchCall(request); }
///<summary> /// Synchronous invoker for 'BusinessLogic.IJokeContract.ObjectWork'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Object' 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 @System.@Object @ObjectWork(@System.@Object @dummy) { var call = Async_ObjectWork(@dummy); return call.GetValue<@System.@Object>(); }
///<summary> /// Synchronous invoker for 'BusinessLogic.IJokeContract.UnsecureEcho'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@String' 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 @System.@String @UnsecureEcho(@System.@String @text) { var call = Async_UnsecureEcho(@text); return call.GetValue<@System.@String>(); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetName'. /// 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_GetName(@System.@Int32 @id, @System.@Nullable<@System.@DateTime> @startDate) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetName_4, false, RemoteInstance, new object[]{@id, @startDate}); return DispatchCall(request); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetName'. /// 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_GetNameMar(@System.@Int32 @id) { var request = new RequestMsg_ITestContractB_GetNameMar(s_ts_CONTRACT, @s_ms_GetNameMar_100, false, RemoteInstance) { MethodArg_0_id = id }; return DispatchCall(request); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetDailyStatuses'. /// 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_GetDailyStatuses(@System.@Int32 @count) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetDailyStatuses_7, false, RemoteInstance, new object[]{@count}); return DispatchCall(request); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetName'. /// 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_GetName(@System.@Int32 @id) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetName_3, false, RemoteInstance, new object[]{@id}); return DispatchCall(request); }
///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetPersonalData'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>' 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 @System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData> @GetPersonalData(@System.@Int32[] @ids, @System.@Boolean @onlyCertified, @System.@Decimal @maxSalary) { var call = Async_GetPersonalData(@ids, @onlyCertified, @maxSalary); return call.GetValue<@System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>>(); }
///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetPersonalData'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>' 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 @System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData> @GetPersonalData(@System.@Int32[] @ids) { var call = Async_GetPersonalData(@ids); return call.GetValue<@System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>>(); }
///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetName'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@String' 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 @System.@String @GetNameMar(@System.@Int32 @id) { var call = Async_GetNameMar(@id); return call.GetValue<@System.@String>(); }
///<summary> /// Synchronous invoker for 'BusinessLogic.IJokeContract.DBWork'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Object' 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 @System.@Object @DBWork(@System.@String @id, @System.@Int32 @recCount, @System.@Int32 @waitMs) { var call = Async_DBWork(@id, @recCount, @waitMs); return call.GetValue<@System.@Object>(); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetPersonalData'. /// 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_GetPersonalData(@System.@Int32[] @ids) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetPersonalData_5, false, RemoteInstance, new object[]{@ids}); return DispatchCall(request); }
///<summary> /// Synchronous invoker for 'BusinessLogic.IJokeContract.Notify'. /// 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 @Notify(@System.@String @text) { var call = Async_Notify(@text); if (call.CallStatus != CallStatus.Dispatched) throw new ClientCallException(call.CallStatus, "Call failed: 'JokeContractClient.Notify'"); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetPersonalData'. /// 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_GetPersonalData(@System.@Int32[] @ids, @System.@Boolean @onlyCertified, @System.@Decimal @maxSalary) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetPersonalData_6, false, RemoteInstance, new object[]{@ids, @onlyCertified, @maxSalary}); return DispatchCall(request); }
///<summary> /// Synchronous invoker for 'BusinessLogic.IJokeContract.SimpleWorkMar'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@String' 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 @System.@String @SimpleWorkMar(@System.@String @s, @System.@Int32 @i1, @System.@Int32 @i2, @System.@Boolean @b, @System.@Double @d) { var call = Async_SimpleWorkMar(@s, @i1, @i2, @b, @d); return call.GetValue<@System.@String>(); }
///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractA.Method1'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@String' 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 @System.@String @Method1(@System.@Int32 @x) { var call = Async_Method1(@x); return call.GetValue<@System.@String>(); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.DBWork'. /// 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_DBWork(@System.@String @id, @System.@Int32 @recCount, @System.@Int32 @waitMs) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_DBWork_5, false, RemoteInstance, new object[]{@id, @recCount, @waitMs}); return DispatchCall(request); }
///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractA.Method2'. /// 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 @Method2(@System.@Int32 @x) { var call = Async_Method2(@x); if (call.CallStatus != CallStatus.Dispatched) throw new ClientCallException(call.CallStatus, "Call failed: 'TestContractAClient.Method2'"); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.ObjectWork'. /// 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_ObjectWork(@System.@Object @dummy) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_ObjectWork_7, false, RemoteInstance, new object[]{@dummy}); return DispatchCall(request); }
public int @Sleeper(@System.@Int32 @sleepMs) { var call = Async_Sleeper(@sleepMs); return call.GetValue<@System.@Int32>(); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.SimpleWorkMar'. /// 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_SimpleWorkMar(@System.@String @s, @System.@Int32 @i1, @System.@Int32 @i2, @System.@Boolean @b, @System.@Double @d) { var request = new @BusinessLogic.@RequestMsg_IJokeContract_SimpleWorkMar(s_ts_CONTRACT, @s_ms_SimpleWorkMar_4, false, RemoteInstance) { MethodArg_0_s = @s, MethodArg_1_i1 = @i1, MethodArg_2_i2 = @i2, MethodArg_3_b = @b, MethodArg_4_d = @d, }; return DispatchCall(request); }
///<summary> /// Asynchronous invoker for 'NFX.NUnit.Glue.ITestContractA.Method2'. /// 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_Method2(@System.@Int32 @x) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Method2_1, true, RemoteInstance, new object[]{@x}); return DispatchCall(request); }
///<summary> /// Asynchronous invoker for 'BusinessLogic.IJokeContract.UnsecureEcho'. /// 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_UnsecureEcho(@System.@String @text) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_UnsecureEcho_1, false, RemoteInstance, new object[]{@text}); return DispatchCall(request); }
public CallSlot Async_Sleeper(@System.@Int32 @sleepMs) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Sleeper_2, false, RemoteInstance, new object[]{@sleepMs}); return DispatchCall(request); }
///<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); }
///<summary> /// Synchronous invoker for 'NFX.NUnit.Glue.ITestContractB.GetDailyStatuses'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@Dictionary<@System.@Nullable<@System.@DateTime>, @System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>>' 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 @System.@Collections.@Generic.@Dictionary<@System.@Nullable<@System.@DateTime>, @System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>> @GetDailyStatuses(@System.@Int32 @count) { var call = Async_GetDailyStatuses(@count); return call.GetValue<@System.@Collections.@Generic.@Dictionary<@System.@Nullable<@System.@DateTime>, @System.@Collections.@Generic.@List<@NFX.@NUnit.@Glue.@PersonData>>>(); }