Пример #1
0
        /// <inheritdoc/>
        public override Task <RpcResponse> AttachCompleted(AttachCompletionInfo message, ServerCallContext context)
        {
            var bondMessage = message.ToOpenBond();

            m_masterService.AttachCompleted(bondMessage);

            return(Task.FromResult(new RpcResponse()));
        }
Пример #2
0
        /// <inheritdoc/>
        public override void AttachCompleted(Request <AttachCompletionInfo, Void> call)
        {
            BondServiceHelper.HandleRequest(call, (message) =>
            {
                var openBondMessage = message.ToOpenBond();

                m_masterService.AttachCompleted(openBondMessage);
            });
        }