using System; using System.Collections.Generic; using System.Text; namespace Taobao.Top.Link.Channel { /// the channel that can send message to client /// public interface IServerChannelSender : IChannelSender { /// weather channel is open /// bool IsOpen { get; } /// get channel context by given object key, channel conext can be used to store something that belong itself /// /// /// object GetContext(object key); /// set channel context by given object key, channel conext can be used to store something that belong itself /// /// /// void SetContext(object key, object value); } }