using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using MECF.Framework.RT.Core.ThreadLock;

namespace MECF.Framework.RT.Core.IoProviders.Siemens.Net.StateOne
{
    internal class AsyncStateSend
    {


        /// <summary>
        /// 传输数据的对象
        /// </summary>
        internal Socket WorkSocket { get; set; }

        /// <summary>
        /// 发送的数据内容
        /// </summary>
        internal byte[] Content { get; set; }
        /// <summary>
        /// 已经发送长度
        /// </summary>
        internal int AlreadySendLength { get; set; }


        internal SimpleHybirdLock HybirdLockSend { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        internal string Key { get; set; }

        /// <summary>
        /// 客户端的标识
        /// </summary>
        internal string ClientId { get; set; }
    }
}
