ISessionBase.cs 503 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Net;
  6. namespace SuperSocket.SocketBase
  7. {
  8. /// <summary>
  9. /// The basic session interface
  10. /// </summary>
  11. public interface ISessionBase
  12. {
  13. /// <summary>
  14. /// Gets the session ID.
  15. /// </summary>
  16. string SessionID { get; }
  17. /// <summary>
  18. /// Gets the remote endpoint.
  19. /// </summary>
  20. IPEndPoint RemoteEndPoint { get; }
  21. }
  22. }