Ejemplo n.º 1
0
        ///<summary>
        /// Asynchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.GetMailboxMessageCount'.
        /// 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_GetMailboxMessageCount(@Azos.@Sky.@WebMessaging.@MailboxID @xid, @System.@String @query)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetMailboxMessageCount_6, false, RemoteInstance, new object[] { @xid, @query });

            return(DispatchCall(request));
        }
Ejemplo n.º 2
0
        ///<summary>
        /// Synchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.GetMailboxMessageCount'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Azos.@Sky.@Contracts.@MessageHeaders' 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 int @GetMailboxMessageCount(@Azos.@Sky.@WebMessaging.@MailboxID @xid, @System.@String @query)
        {
            var call = Async_GetMailboxMessageCount(@xid, @query);

            return(call.GetValue <int>());
        }
Ejemplo n.º 3
0
        ///<summary>
        /// Asynchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.GetMailboxInfo'.
        /// 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_GetMailboxInfo(@Azos.@Sky.@WebMessaging.@MailboxID @xid)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetMailboxInfo_1, false, RemoteInstance, new object[] { @xid });

            return(DispatchCall(request));
        }
Ejemplo n.º 4
0
        ///<summary>
        /// Synchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.GetMailboxMessageHeaders'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Azos.@Sky.@Contracts.@MessageHeaders' 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.@Contracts.@MessageHeaders @GetMailboxMessageHeaders(@Azos.@Sky.@WebMessaging.@MailboxID @xid, @System.@String @query)
        {
            var call = Async_GetMailboxMessageHeaders(@xid, @query);

            return(call.GetValue <@Azos.@Sky.@Contracts.@MessageHeaders>());
        }
Ejemplo n.º 5
0
        ///<summary>
        /// Synchronous invoker for  'Azos.Sky.Contracts.IWebMessageSystem.GetMailboxInfo'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Azos.@Sky.@WebMessaging.@MailboxInfo' 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.@WebMessaging.@MailboxInfo @GetMailboxInfo(@Azos.@Sky.@WebMessaging.@MailboxID @xid)
        {
            var call = Async_GetMailboxInfo(@xid);

            return(call.GetValue <@Azos.@Sky.@WebMessaging.@MailboxInfo>());
        }