search for: release_db

Displaying 1 result from an estimated 1 matches for "release_db".

Did you mean: release_36
2015 Apr 01
1
Remote protocol abstracted
...s effectively separates the protocol from the connection and the server. RemoteProtocol with virtual abstract methods for: * get_message - Receives a new message (waiting when needed). * send_message - Sends a message to the client. * get_db - Reserves a database when the class needs to use it. * release_db - Releases the database when the class is not using it. * select_db - It's called when the protocol needs to select a new database to work on. * shutdown - It's called when the protocol requires to shutdown. Each command in the RemoteProtocol now do a two additional things: 1. Use get_db(...