///<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> /// Synchronous invoker for 'NFX.UTest.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.SimpleWorkMar'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData 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.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.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 'XYZ.BusinessDomain.Contracts.IWheather.GetWheatherForecast'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@XYZ.@BusinessDomain.@Contracts.@WeatherDay[]' or WrappedExceptionData 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 @XYZ.@BusinessDomain.@Contracts.@WeatherDay[] @GetWheatherForecast(@System.@String @area, @System.@DateTime @start, @System.@Int32 @days) { var call = Async_GetWheatherForecast(@area, @start, @days); return(call.GetValue <@XYZ.@BusinessDomain.@Contracts.@WeatherDay[]>()); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.List'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@IEnumerable[@Azos.@Log.@Message]' or WrappedExceptionData 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.@IEnumerable <@Azos.@Log.@Message> @List(@System.@String @archiveDimensionsFilter, @System.@DateTime @startDate, @System.@DateTime @endDate, @System.@Nullable <@Azos.@Log.@MessageType> @type, @System.@String @host, @System.@String @channel, @System.@String @topic, @System.@Nullable <@System.@Guid> @relatedTo, @System.@Int32 @skipCount) { var call = Async_List(@archiveDimensionsFilter, @startDate, @endDate, @type, @host, @channel, @topic, @relatedTo, @skipCount); return(call.GetValue <@System.@Collections.@Generic.@IEnumerable <@Azos.@Log.@Message> >()); }
///<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 'Agni.Social.Graph.IGraphEventSystem.GetSubscribers'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_GetSubscribers(@NFX.@DataAccess.@Distributed.@GDID @gEmitterNode, @System.@Int64 @start, @System.@Int32 @count) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetSubscribers_4, false, RemoteInstance, new object[] { @gEmitterNode, @start, @count }); return(DispatchCall(request)); }
///<summary> /// Asynchronous invoker for 'Agni.Contracts.IProcessController.List'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_List(@System.@Int32 @processorID) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_List_4, false, RemoteInstance, new object[] { @processorID }); 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, @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 'Azos.Sky.Contracts.IZoneHostReplicator.PostDynamicHostInfo'. /// 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_PostDynamicHostInfo(@Azos.@Sky.@Contracts.@DynamicHostID @id, @System.@DateTime @stamp, @System.@String @owner, @System.@Int32 @votes) { var request = new @Azos.@Sky.@Contracts.@RequestMsg_IZoneHostReplicator_PostDynamicHostInfo(s_ts_CONTRACT, @s_ms_PostDynamicHostInfo_0, true, RemoteInstance) { MethodArg_0_id = @id, MethodArg_1_stamp = @stamp, MethodArg_2_owner = @owner, MethodArg_3_votes = @votes, }; return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Agni.Contracts.IProcessController.List'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@IEnumerable<@Agni.@Workers.@ProcessDescriptor>' or WrappedExceptionData 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.@IEnumerable <@Agni.@Workers.@ProcessDescriptor> @List(@System.@Int32 @processorID) { var call = Async_List(@processorID); return(call.GetValue <@System.@Collections.@Generic.@IEnumerable <@Agni.@Workers.@ProcessDescriptor> >()); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IZoneHostReplicator.PostDynamicHostInfo'. /// 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 @PostDynamicHostInfo(@Azos.@Sky.@Contracts.@DynamicHostID @id, @System.@DateTime @stamp, @System.@String @owner, @System.@Int32 @votes) { var call = Async_PostDynamicHostInfo(@id, @stamp, @owner, @votes); if (call.CallStatus != CallStatus.Dispatched) { throw new ClientCallException(call.CallStatus, "Call failed: 'ZoneHostReplicator.PostDynamicHostInfo'"); } }
///<summary> /// Synchronous invoker for 'Agni.Contracts.IGDIDAuthority.AllocateBlock'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@Agni.@Contracts.@GDIDBlock' or WrappedExceptionData 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 @Agni.@Contracts.@GDIDBlock @AllocateBlock(@System.@String @scopeName, @System.@String @sequenceName, @System.@Int32 @blockSize, @System.@Nullable <@System.@UInt64> @vicinity) { var call = Async_AllocateBlock(@scopeName, @sequenceName, @blockSize, @vicinity); return(call.GetValue <@Agni.@Contracts.@GDIDBlock>()); }
///<summary> /// Asynchronous invoker for 'Agni.Contracts.IGDIDAuthority.AllocateBlock'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_AllocateBlock(@System.@String @scopeName, @System.@String @sequenceName, @System.@Int32 @blockSize, @System.@Nullable <@System.@UInt64> @vicinity) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_AllocateBlock_0, false, RemoteInstance, new object[] { @scopeName, @sequenceName, @blockSize, @vicinity }); return(DispatchCall(request)); }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.List'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_List(@System.@String @archiveDimensionsFilter, @System.@DateTime @startDate, @System.@DateTime @endDate, @System.@Nullable <@Azos.@Log.@MessageType> @type, @System.@String @host, @System.@String @channel, @System.@String @topic, @System.@Nullable <@System.@Guid> @relatedTo, @System.@Int32 @skipCount) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_List_2, false, RemoteInstance, new object[] { @archiveDimensionsFilter, @startDate, @endDate, @type, @host, @channel, @topic, @relatedTo, @skipCount }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'NFX.UTest.Glue.ITestContractA.Method1'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@String' or WrappedExceptionData 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> /// 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> /// 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 WrappedExceptionData 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.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> > >()); }
///<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 WrappedExceptionData 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 'BusinessLogic.IJokeContract.SimpleWorkAny'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData 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 'Agni.Social.Graph.IGraphEventSystem.GetSubscribers'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@IEnumerable<@Agni.@Social.@Graph.@GraphNode>' or WrappedExceptionData 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.@IEnumerable <@Agni.@Social.@Graph.@GraphNode> @GetSubscribers(@NFX.@DataAccess.@Distributed.@GDID @gEmitterNode, @System.@Int64 @start, @System.@Int32 @count) { var call = Async_GetSubscribers(@gEmitterNode, @start, @count); return(call.GetValue <@System.@Collections.@Generic.@IEnumerable <@Agni.@Social.@Graph.@GraphNode> >()); }
///<summary> /// Asynchronous invoker for 'NFX.UTest.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)); }
public int @Sleeper(@System.@Int32 @sleepMs) { var call = Async_Sleeper(@sleepMs); return(call.GetValue <@System.@Int32>()); }
///<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 WrappedExceptionData 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)); }
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 'XYZ.BusinessDomain.Contracts.IWheather.GetWheatherForecast'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_GetWheatherForecast(@System.@String @area, @System.@DateTime @start, @System.@Int32 @days) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetWheatherForecast_1, false, RemoteInstance, new object[] { @area, @start, @days }); return(DispatchCall(request)); }
///<summary> /// Asynchronous invoker for 'Agni.Social.Graph.IGraphCommentSystem.Like'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception or WrappedExceptionData instance. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result. ///</summary> public CallSlot Async_Like(@Agni.@Social.@Graph.@CommentID @commentId, @System.@Int32 @deltaLike, @System.@Int32 @deltaDislike) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Like_4, false, RemoteInstance, new object[] { @commentId, @deltaLike, @deltaDislike }); return(DispatchCall(request)); }