///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IZoneHostReplicator.PostDynamicHostInfo'. /// 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 @PostDynamicHostInfo(@Azos.@Sky.@Contracts.@DynamicHostID @id, @System.@DateTime @stamp, @System.@String @owner, @System.@Int32 @votes) { var call = Async_PostDynamicHostInfo(@id, @stamp, @owner, @votes); if (call.CallStatus != CallStatus.Dispatched) { throw new ClientCallException(call.CallStatus, "Call failed: 'ZoneHostReplicator.PostDynamicHostInfo'"); } }
///<summary> /// Asynchronous invoker for 'XYZ.BusinessDomain.Contracts.IWheather.GetWheatherForecast'. /// 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_GetWheatherForecast(@System.@String @area, @System.@DateTime @start, @System.@Int32 @days) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_GetWheatherForecast_1, false, RemoteInstance, new object[] { @area, @start, @days }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'XYZ.BusinessDomain.Contracts.IWheather.GetWheatherForecast'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@XYZ.@BusinessDomain.@Contracts.@WeatherDay[]' 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 @XYZ.@BusinessDomain.@Contracts.@WeatherDay[] @GetWheatherForecast(@System.@String @area, @System.@DateTime @start, @System.@Int32 @days) { var call = Async_GetWheatherForecast(@area, @start, @days); return(call.GetValue <@XYZ.@BusinessDomain.@Contracts.@WeatherDay[]>()); }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IZoneHostReplicator.PostDynamicHostInfo'. /// 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_PostDynamicHostInfo(@Azos.@Sky.@Contracts.@DynamicHostID @id, @System.@DateTime @stamp, @System.@String @owner, @System.@Int32 @votes) { var request = new @Azos.@Sky.@Contracts.@RequestMsg_IZoneHostReplicator_PostDynamicHostInfo(s_ts_CONTRACT, @s_ms_PostDynamicHostInfo_0, true, RemoteInstance) { MethodArg_0_id = @id, MethodArg_1_stamp = @stamp, MethodArg_2_owner = @owner, MethodArg_3_votes = @votes, }; return(DispatchCall(request)); }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.List'. /// 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_List(@System.@String @archiveDimensionsFilter, @System.@DateTime @startDate, @System.@DateTime @endDate, @System.@Nullable <@Azos.@Log.@MessageType> @type, @System.@String @host, @System.@String @channel, @System.@String @topic, @System.@Nullable <@System.@Guid> @relatedTo, @System.@Int32 @skipCount) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_List_2, false, RemoteInstance, new object[] { @archiveDimensionsFilter, @startDate, @endDate, @type, @host, @channel, @topic, @relatedTo, @skipCount }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.ILogReceiver.List'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@System.@Collections.@Generic.@IEnumerable[@Azos.@Log.@Message]' 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 @System.@Collections.@Generic.@IEnumerable <@Azos.@Log.@Message> @List(@System.@String @archiveDimensionsFilter, @System.@DateTime @startDate, @System.@DateTime @endDate, @System.@Nullable <@Azos.@Log.@MessageType> @type, @System.@String @host, @System.@String @channel, @System.@String @topic, @System.@Nullable <@System.@Guid> @relatedTo, @System.@Int32 @skipCount) { var call = Async_List(@archiveDimensionsFilter, @startDate, @endDate, @type, @host, @channel, @topic, @relatedTo, @skipCount); return(call.GetValue <@System.@Collections.@Generic.@IEnumerable <@Azos.@Log.@Message> >()); }