public GameHub() { ObjectPersistence = new DefaultObjectStoreProvider(); SharedCache = new DefaultSharedCacheProvider(); RealTimeMessaging = new RealTimeMessagingProvider<GameHub>(); Synchronizer = new SynchController(SharedCache, ObjectPersistence, new DefaultRelationalStoreProvider()); }
public SynchController(ISharedCache cache, IObjectPersistence objectStore, IRelationalPersistence relationalStore) { RelationalStore = relationalStore; Cache = cache; ObjectStore = objectStore; }