-
А кому сейчас легко?
Re: Repka Commander 2 - Вопрос
Hi.
The project is still in development, and its use now has little meaning.
Existing providers isn`t completed.
To use your provider (MySQL for example), you must first write it. The new provider must implement the IServerRepository interface. For example, you can use your existing provider implementations (Stub or MSSQL) - See Project303.Repository.Concrete.MSSQL namespace or Project303.Repository.Concrete.Stub ns.
"Stub" provider stores all the results of the battle in the html file (log-like), and through it you'll be able to verify the correctness of its implementation.
Connect one or the other provider here - Strategy.Handlers.StatisticHandler.CreateNotifier (you have to make the necessary changes there).
General logic of stat collecting you can find in Strategy.Stat.Concrete.StatWatcher.StatWatcher303 class. Optional, you can also make your own implementation of StatWatcherBase.
After that, you can use statistics in their implementation.
But now I can not guarantee that the interfaces and connection method will remain unchanged in the release.
Крайний раз редактировалось Small_Bee; 17.08.2013 в 16:51.
Ваши права
- Вы не можете создавать новые темы
- Вы не можете отвечать в темах
- Вы не можете прикреплять вложения
- Вы не можете редактировать свои сообщения
-
Правила форума