您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

32 行
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. }