Exemple #1
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Contracts.IProcessController.GetDescriptor'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@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 @Agni.@Workers.@ProcessDescriptor @GetDescriptor(@Agni.@Workers.@PID @pid)
        {
            var call = Async_GetDescriptor(@pid);

            return(call.GetValue <@Agni.@Workers.@ProcessDescriptor>());
        }
Exemple #2
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Contracts.IProcessController.GetDescriptor'.
        /// 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_GetDescriptor(@Agni.@Workers.@PID @pid)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetDescriptor_3, false, RemoteInstance, new object[] { @pid });

            return(DispatchCall(request));
        }
Exemple #3
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Contracts.IProcessController.Get'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Agni.@Workers.@ProcessFrame' 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.@Workers.@ProcessFrame @Get(@Agni.@Workers.@PID @pid)
        {
            var call = Async_Get(@pid);

            return(call.GetValue <@Agni.@Workers.@ProcessFrame>());
        }