Пример #1
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Contracts.ITester.TestEcho'.
        /// 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 @TestEcho(@System.@Object @data)
        {
            var call = Async_TestEcho(@data);

            return(call.GetValue <@System.@Object>());
        }
Пример #2
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 WrappedExceptionData 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));
        }
Пример #3
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Contracts.ITester.TestEcho'.
        /// 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_TestEcho(@System.@Object @data)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_TestEcho_0, false, RemoteInstance, new object[] { @data });

            return(DispatchCall(request));
        }
Пример #4
0
        ///<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 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 @ObjectWork(@System.@Object @dummy)
        {
            var call = Async_ObjectWork(@dummy);

            return(call.GetValue <@System.@Object>());
        }