Example #1
0
        ///<summary>
        /// Asynchronous invoker for  'Azos.Tests.Unit.Glue.ITestContractB.SetPersonOfTheDay'.
        /// 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_SetPersonOfTheDay(@Azos.@Tests.@Unit.@Glue.@PersonData @person)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_SetPersonOfTheDay_0, false, RemoteInstance, new object[] { @person });

            return(DispatchCall(request));
        }
Example #2
0
        ///<summary>
        /// Synchronous invoker for  'Azos.Tests.Unit.Glue.ITestContractB.SetPersonOfTheDay'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning no exception 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 void @SetPersonOfTheDay(@Azos.@Tests.@Unit.@Glue.@PersonData @person)
        {
            var call = Async_SetPersonOfTheDay(@person);

            call.CheckVoidValue();
        }