Exemplo n.º 1
0
IDatabaseSPtr Server::CreateDatabase(IDataBaseInfoSPtr info) {
  return IDatabaseSPtr(new Database(shared_from_this(), info));
}
Exemplo n.º 2
0
 IDatabaseSPtr LmdbServer::createDatabase(DataBaseInfoSPtr info)
 {
     return IDatabaseSPtr(new LmdbDatabase(shared_from_this(), info));
 }
Exemplo n.º 3
0
 IDatabaseSPtr RedisServer::createDatabase(DataBaseInfoSPtr info)
 {
     return IDatabaseSPtr(new RedisDatabase(shared_from_this(), info));
 }
IDatabaseSPtr MemcachedServer::createDatabase(IDataBaseInfoSPtr info) {
  return IDatabaseSPtr(new MemcachedDatabase(shared_from_this(), info));
}