Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 ///<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);
 }
Ejemplo n.º 3
0
        public CallSlot Async_Add(int value)
        {
            var request = new RequestAnyMsg(miAdd, RemoteInstance, new object[]{ value });

              return DispatchCall(request);
        }
Ejemplo n.º 4
0
 public CallSlot Async_RequestMessages(Guid token, int lastMessageId)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_RequestMessages_0, false, RemoteInstance, new object[] { token, lastMessageId });
     return DispatchCall(request);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Async call of <see cref="CreateSession(long)"/>
 /// </summary>
 /// <param name="user_id"></param>
 /// <returns></returns>
 public CallSlot Async_CreateSession(long user_id)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_CreateSession, false, RemoteInstance, new object[] { user_id });
     return DispatchCall(request);
 }
Ejemplo n.º 6
0
 public CallSlot Async_Login(string name)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_Login_0, false, RemoteInstance, new object[] { name });
     return DispatchCall(request);
 }
Ejemplo n.º 7
0
 ///<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);
 }
Ejemplo n.º 8
0
 ///<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);
 }
Ejemplo n.º 9
0
 ///<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);
 }
Ejemplo n.º 10
0
 ///<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);
 }
Ejemplo n.º 11
0
 ///<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);
 }
Ejemplo n.º 12
0
 ///<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);
 }
Ejemplo n.º 13
0
 public CallSlot Async_PutMessage(Guid token, string message)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_PutMessage_0, false, RemoteInstance, new object[] { token, message });
     return DispatchCall(request);
 }
Ejemplo n.º 14
0
 ///<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);
 }
Ejemplo n.º 15
0
 ///<summary>
 /// Asynchronous invoker for  'NFX.NUnit.Glue.ITestContractB.GetPersonOfTheDay'.
 /// 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_GetPersonOfTheDay()
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetPersonOfTheDay_1, false, RemoteInstance, new object[]{});
     return DispatchCall(request);
 }
Ejemplo n.º 16
0
 ///<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);
 }
Ejemplo n.º 17
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);
 }
Ejemplo n.º 18
0
 ///<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);
 }
Ejemplo n.º 19
0
 ///<summary>
 /// Asynchronous invoker for  'NFX.NUnit.Glue.ITestContractB.SummarizeAndFinish'.
 /// 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_SummarizeAndFinish()
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_SummarizeAndFinish_8, false, RemoteInstance, new object[]{});
     return DispatchCall(request);
 }
Ejemplo n.º 20
0
 /// <summary>
 /// Async call of <see cref="CloseSession(Guid)"/>
 /// </summary>
 /// <param name="session_guid"></param>
 /// <returns></returns>
 public CallSlot Async_CloseSession(Guid session_guid)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_CloseSession, false, RemoteInstance, new object[] { session_guid });
     return DispatchCall(request);
 }
Ejemplo n.º 21
0
 public CallSlot Async_Register(string userName)
 {
     var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_Register_0, false, RemoteInstance, new object[] { userName });
     return DispatchCall(request);
 }
Ejemplo n.º 22
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);
 }
Ejemplo n.º 23
0
 ///<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);
 }
Ejemplo n.º 24
0
        public CallSlot Async_Done()
        {
            var request = new RequestAnyMsg(miDone, RemoteInstance, null);

              return DispatchCall(request);
        }
Ejemplo n.º 25
0
 public CallSlot Async_Notify(string text)
 {
   var request = new RequestAnyMsg(GetType().GetMethod("Notify"), RemoteInstance, new object[]{ text }); 
                              
   return DispatchCall(request);  
 }