memgraph/include/communication/bolt/v1/bolt.hpp

26 lines
336 B
C++
Raw Normal View History

2016-08-02 05:14:09 +08:00
#pragma once
#include "communication/bolt/v1/states.hpp"
#include "dbms/dbms.hpp"
#include "io/network/socket.hpp"
2016-08-02 05:14:09 +08:00
namespace bolt
{
class Session;
class Bolt
{
friend class Session;
public:
Bolt();
Session *create_session(io::Socket &&socket);
void close(Session *session);
2016-08-02 05:14:09 +08:00
States states;
Dbms dbms;
2016-08-02 05:14:09 +08:00
};
}