Joedb 10.2.1
The Journal-Only Embedded Database
|
A collection of procedures that will be executed in the rpc server. More...
#include <tutorial/rpc/Service.h>
Public Member Functions | |
Service (Client &client) | |
void | insert_city (city::Writable_Database &city) |
Insert a city from a name string. | |
void | delete_city (city::Writable_Database &city) |
Delete a city from a name string. | |
void | get_population (population::Writable_Database &population) |
A procedure can return values by writing them to the message database. | |
void | get_inhabitants (tutorial::Writable_Database &message) |
A message can have the same schema as the main database. | |
joedbc uses a regular expression to find procedures in the file. The constructor is not called from compiled code, so it can have any signature. In particular, a Service does not necessarily have to access a database at all.
|
inline |
|
inline |
|
inline |
|
inline |