/// <summary> /// 构造函数 /// </summary> /// <param name="timeout">0为不设置过期</param> /// <param name="userSnapLoader">用户加载器</param> public Reception(int timeout, IUserSnapLoader userSnapLoader) { _session_manager = new SessionManager(timeout); _usersnap_loader = userSnapLoader; }
public void SetUserSnapLoader(IUserSnapLoader loader) { _usersnap_loader = loader; }