Monero
Loading...
Searching...
No Matches
levin.cpp File Reference
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()