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

            return(call.GetValue <@Azos.@Sky.@Workers.@ProcessDescriptor>());
        }
Пример #2
0
        ///<summary>
        /// Asynchronous invoker for  'Azos.Sky.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(@Azos.@Sky.@Workers.@PID @pid)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetDescriptor_3, false, RemoteInstance, new object[] { @pid });

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

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