Electroneum
epee::levin::levin_commands_handler< t_connection_context > Struct Template Referenceabstract

#include <levin_base.h>

Public Member Functions

virtual int invoke (int command, const epee::span< const uint8_t > in_buff, std::string &buff_out, t_connection_context &context)=0
 
virtual int notify (int command, const epee::span< const uint8_t > in_buff, t_connection_context &context)=0
 
virtual void callback (t_connection_context &context)
 
virtual void on_connection_new (t_connection_context &context)
 
virtual void on_connection_close (t_connection_context &context)
 
virtual ~levin_commands_handler ()
 

Detailed Description

template<class t_connection_context = net_utils::connection_context_base>
struct epee::levin::levin_commands_handler< t_connection_context >

Definition at line 81 of file levin_base.h.

Constructor & Destructor Documentation

◆ ~levin_commands_handler()

template<class t_connection_context = net_utils::connection_context_base>
virtual epee::levin::levin_commands_handler< t_connection_context >::~levin_commands_handler ( )
inlinevirtual

Definition at line 90 of file levin_base.h.

90 {}

Member Function Documentation

◆ callback()

template<class t_connection_context = net_utils::connection_context_base>
virtual void epee::levin::levin_commands_handler< t_connection_context >::callback ( t_connection_context &  context)
inlinevirtual

Definition at line 85 of file levin_base.h.

85 {};

◆ invoke()

template<class t_connection_context = net_utils::connection_context_base>
virtual int epee::levin::levin_commands_handler< t_connection_context >::invoke ( int  command,
const epee::span< const uint8_t in_buff,
std::string &  buff_out,
t_connection_context &  context 
)
pure virtual

◆ notify()

template<class t_connection_context = net_utils::connection_context_base>
virtual int epee::levin::levin_commands_handler< t_connection_context >::notify ( int  command,
const epee::span< const uint8_t in_buff,
t_connection_context &  context 
)
pure virtual

◆ on_connection_close()

template<class t_connection_context = net_utils::connection_context_base>
virtual void epee::levin::levin_commands_handler< t_connection_context >::on_connection_close ( t_connection_context &  context)
inlinevirtual

Definition at line 88 of file levin_base.h.

88 {};

◆ on_connection_new()

template<class t_connection_context = net_utils::connection_context_base>
virtual void epee::levin::levin_commands_handler< t_connection_context >::on_connection_new ( t_connection_context &  context)
inlinevirtual

Definition at line 87 of file levin_base.h.

87 {};

The documentation for this struct was generated from the following file: