public TcpEventReader(IEventStoreConnection connection, int pageSize = 4096) { _connection = connection; _pageSize = pageSize; var metaCache = new StreamMetaCache(); _filter = new ScavengedEventsFilter(connection, metaCache); _realtime = new Realtime(connection, metaCache); _connection.Closed += HandleConnectionError; }
public ScavengedEventsFilter(IEventStoreConnection connection, StreamMetaCache cache) { _connection = connection; _cache = cache; }
public Realtime(IEventStoreConnection connection, StreamMetaCache metaCache) { _connection = connection; _metaCache = metaCache; }