/* Sog 游戏基础库 2016 by zouwei */ using System.Collections.Generic; using System.Net; namespace SogClient { /// /// Client socket settings. /// public class ClientSessionSettings { /// /// /// /// /// /// 是否加密消息 public ClientSessionSettings(int bufferSize, IPEndPoint remoteEndPoint, bool cryptoMessage) { this.BufferSize = bufferSize; this.RemoteEndPoint = remoteEndPoint; this.CryptoMessage = cryptoMessage; } /// /// Gets the size of the buffer. /// /// The size of the buffer. public int BufferSize { get; private set; } /// /// Gets the remote end point. /// /// The remote end point. public IPEndPoint RemoteEndPoint { get; private set; } public bool CryptoMessage { get; private set; } } }