memgraph/include/bolt/v1/states/init.hpp

23 lines
323 B
C++
Raw Normal View History

2016-08-02 05:14:09 +08:00
#pragma once
#include "bolt/v1/states/message_parser.hpp"
namespace bolt
{
class Init : public MessageParser<Init>
{
public:
struct Message
{
std::string client_name;
};
Init();
State* parse(Session& session, Message& message);
State* execute(Session& session, Message& message);
};
}