Example #1
0
        private MessageStop <TMessage> GetMessageStop <TMessage>()
        {
            MessageStop <TMessage> stop;
            BaseMessageStop        baseStop = GetMessageStop(typeof(TMessage));

            stop = baseStop as MessageStop <TMessage>;
            return(stop);
        }
Example #2
0
        public BaseMessageChannel GetMessageChannel(Type messageType, string channelID)
        {
            if (channelID == null)
            {
                channelID = "";
            }
            BaseMessageStop baseStop = GetMessageStop(messageType);

            return(baseStop.GetChannel(channelID));
        }