#include <RankingServer_PostgreSQL.h>
Inherits PostgreSQLInterface, and RakNet::FunctionThreadDependentClass.
Public Member Functions | |
| bool | CreateRankingServerTables (void) |
| bool | DestroyRankingServerTables (void) |
| virtual void | PushFunctor (RankingServerFunctor *functor, void *context=0) |
| void | AssignCallback (RankingServerCBInterface *cb) |
Friends | |
| class | SubmitMatch_PostgreSQLImpl |
| class | ModifyTrustedIPList_PostgreSQLImpl |
| class | GetRatingForParticipant_PostgreSQLImpl |
| class | GetRatingForParticipants_PostgreSQLImpl |
| class | GetHistoryForParticipant_PostgreSQLImpl |
| void RankingServer_PostgreSQL::AssignCallback | ( | RankingServerCBInterface * | cb | ) |
Assigns a callback to get the results of processing.
| [in] | A | structure allocated on the HEAP (using new) with the input parameters filled in. |
| bool RankingServer_PostgreSQL::CreateRankingServerTables | ( | void | ) |
Create the tables used by the ranking server, for all applications. Call this first. I recommend using UTF8 for the database encoding within PostgreSQL if you are going to store binary data
| bool RankingServer_PostgreSQL::DestroyRankingServerTables | ( | void | ) |
Destroy the tables used by the ranking server. Don't call this unless you don't want to use the ranking server anymore, or are testing.
| void RankingServer_PostgreSQL::PushFunctor | ( | RankingServerFunctor * | functor, | |
| void * | context = 0 | |||
| ) | [virtual] |
Push one of the above *_PostgreSQLImpl functors to run.
| functor | A structure allocated on the HEAP (using new) with the input parameters filled in. |
1.5.7.1