コード例 #1
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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>();
 }
コード例 #2
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #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
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #5
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #6
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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>();
 }
コード例 #7
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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>();
 }
コード例 #8
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #9
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #10
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #11
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #12
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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>>();
 }
コード例 #13
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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>>();
 }
コード例 #14
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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>();
 }
コード例 #15
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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>();
 }
コード例 #16
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #17
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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'");
 }
コード例 #18
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #19
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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>();
 }
コード例 #20
0
ファイル: TestObjects_A.cs プロジェクト: vlapchenko/nfx
 ///<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>();
 }
コード例 #21
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #22
0
ファイル: TestObjects_A.cs プロジェクト: vlapchenko/nfx
 ///<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'");
 }
コード例 #23
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #24
0
ファイル: TestObjects_A.cs プロジェクト: vlapchenko/nfx
 public int @Sleeper(@System.@Int32  @sleepMs)
 {
     var call = Async_Sleeper(@sleepMs);
     return call.GetValue<@System.@Int32>();
 }
コード例 #25
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #26
0
ファイル: TestObjects_A.cs プロジェクト: vlapchenko/nfx
 ///<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);
 }
コード例 #27
0
ファイル: JokeContractClient.cs プロジェクト: itadapter/nfx
 ///<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);
 }
コード例 #28
0
ファイル: TestObjects_A.cs プロジェクト: vlapchenko/nfx
 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);
 }
コード例 #29
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);
 }
コード例 #30
0
ファイル: TestObjects_B.cs プロジェクト: itadapter/nfx
 ///<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>>>();
 }