Example #1
0
        /// <inheritdoc />
        protected override void OnSendInMessage(Message message)
        {
            if (!InputChannel.IsOpened)
            {
                InputChannel.Open();
            }

            InputChannel.SendInMessage(message);
        }
Example #2
0
        /// <inheritdoc />
        public override void SendInMessage(Message message)
        {
            if (!InputChannel.IsOpened)
            {
                InputChannel.Open();
            }

            InputChannel.SendInMessage(message);
        }
Example #3
0
        /// <inheritdoc />
        protected override bool OnSendInMessage(Message message)
        {
            if (!InputChannel.IsOpened())
            {
                InputChannel.Open();
            }

            return(InputChannel.SendInMessage(message));
        }
        void IMessageChannel.SendInMessage(Message message)
        {
            if (!InputChannel.IsOpened)
            {
                InputChannel.Open();
            }

            InputChannel.SendInMessage(message);
        }