b2ce3d58a4
Added multithreading to dbms. Skiplist now supports emplace insert.
26 lines
336 B
C++
26 lines
336 B
C++
#pragma once
|
|
|
|
#include "communication/bolt/v1/states.hpp"
|
|
#include "dbms/dbms.hpp"
|
|
#include "io/network/socket.hpp"
|
|
|
|
namespace bolt
|
|
{
|
|
|
|
class Session;
|
|
|
|
class Bolt
|
|
{
|
|
friend class Session;
|
|
|
|
public:
|
|
Bolt();
|
|
|
|
Session *create_session(io::Socket &&socket);
|
|
void close(Session *session);
|
|
|
|
States states;
|
|
Dbms dbms;
|
|
};
|
|
}
|