Beispiel #1
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Contracts.ILocker.EndLockSession'.
        /// 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_EndLockSession(@Agni.@Locking.@LockSessionID @sessionID)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_EndLockSession_1, false, RemoteInstance, new object[] { @sessionID });

            return(DispatchCall(request));
        }
Beispiel #2
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Contracts.ILocker.EndLockSession'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@System.@Boolean' 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.@Boolean @EndLockSession(@Agni.@Locking.@LockSessionID @sessionID)
        {
            var call = Async_EndLockSession(@sessionID);

            return(call.GetValue <@System.@Boolean>());
        }