Example #1
0
        ///<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>());
        }
Example #2
0
        ///<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));
        }
Example #3
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 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));
        }