IListenerConfig.cs 730 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace SuperSocket.SocketBase.Config
  6. {
  7. /// <summary>
  8. /// The listener configuration interface
  9. /// </summary>
  10. public interface IListenerConfig
  11. {
  12. /// <summary>
  13. /// Gets the ip of listener
  14. /// </summary>
  15. string Ip { get; }
  16. /// <summary>
  17. /// Gets the port of listener
  18. /// </summary>
  19. int Port { get; }
  20. /// <summary>
  21. /// Gets the backlog.
  22. /// </summary>
  23. int Backlog { get; }
  24. /// <summary>
  25. /// Gets the security option, None/Default/Tls/Ssl/...
  26. /// </summary>
  27. string Security { get; }
  28. }
  29. }