Exemplo n.º 1
0
        /// <summary>
        /// 创建一个信道
        /// </summary>
        /// <returns></returns>
        public MQChannel CreateChannel()
        {
            MQChannel Channel = new MQChannel(this);

            ChannelList.Add(Channel);

            return(Channel);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 移除一个信道
 /// </summary>
 /// <param name="Channel"></param>
 /// <returns></returns>
 public bool RemoveChannel(MQChannel Channel)
 {
     return(ChannelList.Remove(Channel));
 }