using System;
using System.Collections.Generic;
using System.Text;
namespace Taobao.Top.Link.Channel
{
/// a channel used to sending message
///
public interface IChannelSender
{
/// send bytes
///
///
void Send(byte[] data);
/// close channel with given reason
///
///
void Close(string reason);
}
}