///<summary> /// Synchronous invoker for 'Agni.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(@Agni.@WebMessaging.@MailboxMsgID @mid, @Agni.@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 'Agni.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(@Agni.@WebMessaging.@MailboxMsgID @mid, @Agni.@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 'Agni.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(@Agni.@WebMessaging.@MailboxMsgID @mid, @Agni.@WebMessaging.@MsgPubStatus @status, @System.@String @oper, @System.@String @description) { var request = new @Agni.@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 'Agni.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(@Agni.@WebMessaging.@MailboxMsgID @mid, @Agni.@WebMessaging.@MsgStatus @status, @System.@String @folders, @System.@String @adornments) { var request = new @Agni.@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 'Agni.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(@Agni.@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 'Agni.Contracts.IWebMessageSystem.FetchMailboxMessageAttachment'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@NFX.@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 @NFX.@Web.@Messaging.@Message.@Attachment @FetchMailboxMessageAttachment(@Agni.@WebMessaging.@MailboxMsgID @mid, @System.@Int32 @attachmentIndex) { var call = Async_FetchMailboxMessageAttachment(@mid, @attachmentIndex); return(call.GetValue <@NFX.@Web.@Messaging.@Message.@Attachment>()); }
///<summary> /// Asynchronous invoker for 'Agni.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(@Agni.@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 'Agni.Contracts.IWebMessageSystem.FetchMailboxMessage'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@Agni.@WebMessaging.@AgniWebMessage' 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.@WebMessaging.@AgniWebMessage @FetchMailboxMessage(@Agni.@WebMessaging.@MailboxMsgID @mid) { var call = Async_FetchMailboxMessage(@mid); return(call.GetValue <@Agni.@WebMessaging.@AgniWebMessage>()); }