Electroneum
Loading...
Searching...
No Matches
epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler > Struct Template Reference

#include <abstract_tcp_server2.h>

Inheritance diagram for epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >:
Collaboration diagram for epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >:

Public Member Functions

 idle_callback_conext (boost::asio::io_service &io_serice, t_handler &h, uint64_t period)
virtual bool call_handler ()
Public Member Functions inherited from epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext_base
virtual ~idle_callback_conext_base ()
 idle_callback_conext_base (boost::asio::io_service &io_serice)

Public Attributes

t_handler m_handler
uint64_t m_period
Public Attributes inherited from epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext_base
boost::asio::deadline_timer m_timer

Detailed Description

template<class t_protocol_handler>
template<class t_handler>
struct epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >

Definition at line 295 of file abstract_tcp_server2.h.

Constructor & Destructor Documentation

◆ idle_callback_conext()

template<class t_protocol_handler>
template<class t_handler>
epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >::idle_callback_conext ( boost::asio::io_service & io_serice,
t_handler & h,
uint64_t period )
inline

Member Function Documentation

◆ call_handler()

template<class t_protocol_handler>
template<class t_handler>
virtual bool epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >::call_handler ( )
inlinevirtual

Reimplemented from epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext_base.

Definition at line 303 of file abstract_tcp_server2.h.

304 {
305 return m_handler();
306 }

Member Data Documentation

◆ m_handler

template<class t_protocol_handler>
template<class t_handler>
t_handler epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >::m_handler

Definition at line 302 of file abstract_tcp_server2.h.

◆ m_period

template<class t_protocol_handler>
template<class t_handler>
uint64_t epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >::m_period

Definition at line 307 of file abstract_tcp_server2.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/net/abstract_tcp_server2.h