///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.SendLog'. /// 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_SendLog(@Azos.@Log.@Message @data) { var request = new @Azos.@Sky.@Contracts.@RequestMsg_ILogReceiver_SendLog(s_ts_CONTRACT, @s_ms_SendLog_0, true, RemoteInstance) { MethodArg_0_data = @data, }; return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.SendLog'. /// 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 @SendLog(@Azos.@Log.@Message @data) { var call = Async_SendLog(@data); if (call.CallStatus != CallStatus.Dispatched) { throw new ClientCallException(call.CallStatus, "Call failed: 'LogReceiver.SendLog'"); } }