/// <summary> /// Opens the channel. /// </summary> /// <param name="channelName">Name of the channel.</param> /// <param name="interestType">Type of the interest.</param> /// <returns></returns> public virtual ICommunicationChannel openChannel(String channelName, InterestType interestType) { ICommunicationChannel channel = new StringChannelImpl(channelName + "_" + idCounter++, this, interestType); registerChannel(channel); return(channel); }
/// <summary> /// Opens the channel. /// </summary> /// <param name="channelName">Name of the channel.</param> /// <param name="interestType">Type of the interest.</param> /// <returns></returns> public virtual ICommunicationChannel openChannel(String channelName, InterestType interestType) { ICommunicationChannel channel = new StringChannelImpl(channelName + "_" + idCounter++, this, interestType); registerChannel(channel); return channel; }