/// <summary> /// 创建一个信道 /// </summary> /// <returns></returns> public MQChannel CreateChannel() { MQChannel Channel = new MQChannel(this); ChannelList.Add(Channel); return(Channel); }
/// <summary> /// 移除一个信道 /// </summary> /// <param name="Channel"></param> /// <returns></returns> public bool RemoveChannel(MQChannel Channel) { return(ChannelList.Remove(Channel)); }