必须填写至少10个字的日志
nnhy authored at 2012-07-27 18:48:21
711.00 B
X
using System;
using System.Collections.Generic;
using System.Text;

namespace NewLife.PeerToPeer.Messages
{
    /// <summary>
    /// 抽象所有Peer之间的通讯消息
    /// </summary>
    /// <typeparam name="TMessage"></typeparam>
    public abstract class PeerMessageBase<TMessage> : Message<TMessage> where TMessage : Message<TMessage>, new()
    {
        #region 属性
        private Guid _TorrentToken;
        /// <summary>种子标识。所有通讯必须指定种子,否则没有任何意义</summary>
        public Guid TorrentToken
        {
            get { return _TorrentToken; }
            set { _TorrentToken = value; }
        }
        #endregion
    }
}