///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.UpdateMailboxMessagePublication'. /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and /// there is no result that server could return back to the caller. /// ClientCallException is thrown if the call could not be placed in the outgoing queue. ///</summary> public void @UpdateMailboxMessagePublication(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @Azos.@Sky.@WebMessaging.@MsgPubStatus @status, @System.@String @oper, @System.@String @description) { var call = Async_UpdateMailboxMessagePublication(@mid, @status, @oper, @description); if (call.CallStatus != CallStatus.Dispatched) { throw new ClientCallException(call.CallStatus, "Call failed: 'WebMessageSystem.UpdateMailboxMessagePublication'"); } }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.UpdateMailboxMessageStatus'. /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and /// there is no result that server could return back to the caller. /// ClientCallException is thrown if the call could not be placed in the outgoing queue. ///</summary> public void @UpdateMailboxMessageStatus(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @Azos.@Sky.@WebMessaging.@MsgStatus @status, @System.@String @folders, @System.@String @adornments) { var call = Async_UpdateMailboxMessageStatus(@mid, @status, @folders, @adornments); if (call.CallStatus != CallStatus.Dispatched) { throw new ClientCallException(call.CallStatus, "Call failed: 'WebMessageSystem.UpdateMailboxMessageStatus'"); } }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.UpdateMailboxMessagePublication'. /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and /// there is no result that server could return back to the caller. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg. ///</summary> public CallSlot Async_UpdateMailboxMessagePublication(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @Azos.@Sky.@WebMessaging.@MsgPubStatus @status, @System.@String @oper, @System.@String @description) { var request = new @Azos.@Sky.@Contracts.@RequestMsg_IWebMessageSystem_UpdateMailboxMessagePublication(s_ts_CONTRACT, @s_ms_UpdateMailboxMessagePublication_4, true, RemoteInstance) { MethodArg_0_mid = @mid, MethodArg_1_status = @status, MethodArg_2_oper = @oper, MethodArg_3_description = @description, }; return(DispatchCall(request)); }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.UpdateMailboxMessageStatus'. /// This is a one-way call per contract specification, meaning - the server sends no acknowledgement of this call receipt and /// there is no result that server could return back to the caller. /// CallSlot is returned that can be queried for CallStatus, ResponseMsg. ///</summary> public CallSlot Async_UpdateMailboxMessageStatus(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @Azos.@Sky.@WebMessaging.@MsgStatus @status, @System.@String @folders, @System.@String @adornments) { var request = new @Azos.@Sky.@Contracts.@RequestMsg_IWebMessageSystem_UpdateMailboxMessageStatus(s_ts_CONTRACT, @s_ms_UpdateMailboxMessageStatus_2, true, RemoteInstance) { MethodArg_0_mid = @mid, MethodArg_1_status = @status, MethodArg_2_folders = @folders, MethodArg_3_adornments = @adornments, }; return(DispatchCall(request)); }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.FetchMailboxMessageAttachment'. /// 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_FetchMailboxMessageAttachment(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @System.@Int32 @attachmentIndex) { var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_FetchMailboxMessageAttachment_8, false, RemoteInstance, new object[] { @mid, @attachmentIndex }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.FetchMailboxMessageAttachment'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@Azos.@Web.@Messaging.@Message.@Attachment' 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.@Web.@Messaging.@Message.@Attachment @FetchMailboxMessageAttachment(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid, @System.@Int32 @attachmentIndex) { var call = Async_FetchMailboxMessageAttachment(@mid, @attachmentIndex); return(call.GetValue <@Azos.@Web.@Messaging.@Message.@Attachment>()); }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.FetchMailboxMessage'. /// 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_FetchMailboxMessage(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid) { var request = new RequestAnyMsg(s_ts_CONTRACT, s_ms_FetchMailboxMessage_7, false, RemoteInstance, new object[] { @mid }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IWebMessageSystem.FetchMailboxMessage'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@Azos.@Sky.@WebMessaging.@SkyWebMessage' 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.@SkyWebMessage @FetchMailboxMessage(@Azos.@Sky.@WebMessaging.@MailboxMsgID @mid) { var call = Async_FetchMailboxMessage(@mid); return(call.GetValue <@Azos.@Sky.@WebMessaging.@SkyWebMessage>()); }