///<summary> /// Asynchronous invoker for 'Azos.Sky.Contracts.ILocker.ExecuteLockTransaction'. /// 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_ExecuteLockTransaction(@Azos.@Sky.@Locking.@Server.@LockSessionData @session, @Azos.@Sky.@Locking.@LockTransaction @transaction) { var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_ExecuteLockTransaction_0, false, RemoteInstance, new object[] { @session, @transaction }); return(DispatchCall(request)); }
///<summary> /// Synchronous invoker for 'Azos.Sky.Contracts.ILocker.ExecuteLockTransaction'. /// This is a two-way call per contract specification, meaning - the server sends the result back either /// returning '@Azos.@Sky.@Locking.@LockTransactionResult' 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.@Locking.@LockTransactionResult @ExecuteLockTransaction(@Azos.@Sky.@Locking.@Server.@LockSessionData @session, @Azos.@Sky.@Locking.@LockTransaction @transaction) { var call = Async_ExecuteLockTransaction(@session, @transaction); return(call.GetValue <@Azos.@Sky.@Locking.@LockTransactionResult>()); }