Author: loic
Date: Sat Aug 23 13:27:44 2008
New Revision: 4323

URL: http://svn.gna.org/viewcvs/pokersource?rev=4323&view=rev
Log:
. startService fills the resthost table row and keeps the serial
. stopService removes the resthost entry and the corresponding routes after all 
tables have been closed
. disconnectAll is made a PokerService function for testing purposes
. select tourney schedule run by the server by filtering with the resthost 
serial
. convey the resthost_serial when creating a tourneys row from a 
tourneys_schedule row
. when a tournament finished, remove the route if any
. tourneyStats and tourneSelect use the SQL database instead of in core 
datastructure
. eventTable function updates or create the route to a table with the last 
modified date
. statsTable and listTables use the SQL database instead of in core 
datastructure
. setupResthost function creates an entry for the server in the resthost table 
if a <resthost> element is found in the configuration file
. cleanupResthost destroys all routes and the resthost
. packet2resthost returns the URL to the server to which the packet given in 
argument must be routed
. getPlayerPlaces returns the serials of the tourneys and tables to which a 
given user is seated or registered
. updateTableStats is called whenever a game turn finishes to update the 
corresponding record in the database. It is a new function that was not 
necessary when the listTable was implemented using in core datastructure
. a route to a table is delete from the database when the destroyTable function 
is called
. the pokertables row is filled with all the informations necessary for the 
PokerTable packet when the table is created (previously was only the serial and 
the name)
. the route to a table is added when the table is created
. the cleanupCrashedTables function loops over the tables from the 
configuration file instead of deleting and cleaning all tables

Modified:
    trunk/poker-network/pokernetwork/pokerservice.py


_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits

Reply via email to