public RequestStreamServer(ISubscriber subscriber, IPublisher publisher, IUserSessionCache userSessionCache, ISerializer serializer, IScheduler scheduler, IMessageFactory messageFactory, TimeSpan updateToLiveTime, bool isSessionRequired) : base(userSessionCache, isSessionRequired) { _subscriber = subscriber; _publisher = publisher; _serializer = serializer; _scheduler = scheduler; _messageFactory = messageFactory; _updateToLiveTime = updateToLiveTime; }
protected RequestOperationServerBase(IUserSessionCache userSessionCache, bool isSessionRequired) { UserSessionCache = userSessionCache; IsSessionRequired = isSessionRequired; }
public UserHub(IUserSessionCache sessionCache) { _sessionCache = sessionCache; }
//protected static readonly ILogger Log = Log.ForContext<RequestOperationServerBase>(); protected RequestOperationServerBase(IUserSessionCache userSessionCache, bool isSessionRequired) { UserSessionCache = userSessionCache; IsSessionRequired = isSessionRequired; }