///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IZoneHostReplicator.PostHostInfo'. /// 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 @PostHostInfo(@Azos.@Sky.@Contracts.@HostInfo @host, @System.@Nullable <@Azos.@Sky.@Contracts.@DynamicHostID> @hid) { var call = Async_PostHostInfo(@host, @hid); if (call.CallStatus != CallStatus.Dispatched) { throw new ClientCallException(call.CallStatus, "Call failed: 'ZoneHostReplicator.PostHostInfo'"); } }
///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.IZoneHostReplicator.PostHostInfo'. /// 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_PostHostInfo(@Azos.@Sky.@Contracts.@HostInfo @host, @System.@Nullable <@Azos.@Sky.@Contracts.@DynamicHostID> @hid) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_PostHostInfo_2, true, RemoteInstance, new object[] { @host, @hid }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.IZoneHostRegistry.RegisterSubordinateHost'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning no exception 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 void @RegisterSubordinateHost(@Azos.@Sky.@Contracts.@HostInfo @host, @System.@Nullable <@Azos.@Sky.@Contracts.@DynamicHostID> @hid) { var call = Async_RegisterSubordinateHost(@host, @hid); call.CheckVoidValue(); }