コード例 #1
0
        /// <inheritdoc />
        protected override void OnInnerAdapterNewOutMessage(Message message)
        {
            if (!OutputChannel.IsOpened())
            {
                OutputChannel.Open();
            }

            OutputChannel.SendInMessage(message);
        }
コード例 #2
0
        /// <summary>
        /// Send outgoing message.
        /// </summary>
        /// <param name="message">Message.</param>
        public void SendOutMessage(Message message)
        {
            if (!OutputChannel.IsOpened())
            {
                OutputChannel.Open();
            }

            OutputChannel.SendInMessage(message);
        }