You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
690 B

  1. using DotNetty.Transport.Channels;
  2. using System;
  3. using System.Net;
  4. namespace JT1078.Gateway.Metadata
  5. {
  6. public class JT1078HttpSession
  7. {
  8. public JT1078HttpSession(
  9. IChannel channel,
  10. string userId)
  11. {
  12. Channel = channel;
  13. UserId = userId;
  14. StartTime = DateTime.Now;
  15. LastActiveTime = DateTime.Now;
  16. }
  17. public JT1078HttpSession() { }
  18. public string UserId { get; set; }
  19. public string AttachInfo { get; set; }
  20. public IChannel Channel { get; set; }
  21. public DateTime LastActiveTime { get; set; }
  22. public DateTime StartTime { get; set; }
  23. }
  24. }