ServerConfig.cs 713 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace CommonServer_ICE.Server
  6. {
  7. /// <summary>
  8. /// ICE服务器端配置
  9. /// </summary>
  10. public class IceServerConfig
  11. {
  12. public string Ip { set; get; }
  13. public int Port { set; get; }
  14. public int Mode { set; get; }
  15. public bool ClearIdleSession { set; get; }
  16. public int ClearIdleSessionInterval { set; get; }
  17. public int IdleSessionTimeOut { set; get; }
  18. public int SendingQueueSize { set; get; }
  19. public string TextEncoding { set; get; }
  20. public int MaxConnectionNumber { set; get; }
  21. public int SendTimeOut { set; get; }
  22. }
  23. }