Monero
Functions | Variables
levin.cpp File Reference
#include "include_base_utils.h"
#include "file_io_utils.h"
#include "net/net_utils_base.h"
#include "net/abstract_tcp_server2.h"
#include "storages/levin_abstract_invoke2.h"
#include "net/levin_protocol_handler_async.h"
#include "fuzzer.h"
Include dependency graph for levin.cpp:

Functions

m_handler_config set_handler (m_pcommands_handler, [](epee::levin::levin_commands_handler< test_levin_connection_context > *handler) { delete handler;})
 
std::unique_ptr< test_connection > conn (new test_connection(io_service, m_handler_config))
 
conn start ()
 
conn m_protocol_handler handle_recv (buf, len)
 

Variables

boost::asio::io_context io_service
 
test_levin_protocol_handler_config m_handler_config
 
test_levin_commands_handler * m_pcommands_handler = new test_levin_commands_handler()
 

Function Documentation

◆ conn()

std::unique_ptr<test_connection> conn ( new   test_connectionio_service, m_handler_config)

◆ handle_recv()

conn m_protocol_handler handle_recv ( buf  ,
len   
)

◆ set_handler()

m_handler_config set_handler ( m_pcommands_handler  ,
[] (epee::levin::levin_commands_handler< test_levin_connection_context > *handler) { delete handler;}   
)

◆ start()

conn start ( )

Variable Documentation

◆ io_service

boost::asio::io_context io_service

◆ m_handler_config

test_levin_protocol_handler_config m_handler_config

◆ m_pcommands_handler

test_levin_commands_handler* m_pcommands_handler = new test_levin_commands_handler()