27 lines
337 B
C++
27 lines
337 B
C++
#pragma once
|
|
|
|
#include "communication/bolt/v1/states.hpp"
|
|
#include "io/network/socket.hpp"
|
|
#include "dbms/dbms.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;
|
|
};
|
|
|
|
}
|