neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::i_basic_packet_connection_owner< CharType > Class Template Referenceabstract

#include <packet_connection.hpp>

Public Types

typedef i_basic_packet< CharTypepacket_type
 
typedef packet_type::clone_pointer packet_clone_pointer
 

Public Member Functions

virtual packet_clone_pointer handle_create_empty_packet () const =0
 
virtual void handle_connection_established ()=0
 
virtual void handle_connection_failure (const boost::system::error_code &aError)=0
 
virtual void handle_packet_sent (const packet_type &aPacket)=0
 
virtual void handle_packet_arrived (const packet_type &aPacket)=0
 
virtual void handle_transfer_failure (const packet_type &aPacket, const boost::system::error_code &aError)=0
 
virtual void handle_connection_closed ()=0
 

Detailed Description

template<typename CharType>
class neolib::i_basic_packet_connection_owner< CharType >

Definition at line 60 of file packet_connection.hpp.

Member Typedef Documentation

◆ packet_clone_pointer

template<typename CharType >
typedef packet_type::clone_pointer neolib::i_basic_packet_connection_owner< CharType >::packet_clone_pointer

Definition at line 65 of file packet_connection.hpp.

◆ packet_type

Member Function Documentation

◆ handle_connection_closed()

template<typename CharType >
virtual void neolib::i_basic_packet_connection_owner< CharType >::handle_connection_closed ( )
pure virtual

◆ handle_connection_established()

template<typename CharType >
virtual void neolib::i_basic_packet_connection_owner< CharType >::handle_connection_established ( )
pure virtual

◆ handle_connection_failure()

template<typename CharType >
virtual void neolib::i_basic_packet_connection_owner< CharType >::handle_connection_failure ( const boost::system::error_code &  aError)
pure virtual

◆ handle_create_empty_packet()

template<typename CharType >
virtual packet_clone_pointer neolib::i_basic_packet_connection_owner< CharType >::handle_create_empty_packet ( ) const
pure virtual

◆ handle_packet_arrived()

template<typename CharType >
virtual void neolib::i_basic_packet_connection_owner< CharType >::handle_packet_arrived ( const packet_type aPacket)
pure virtual

◆ handle_packet_sent()

template<typename CharType >
virtual void neolib::i_basic_packet_connection_owner< CharType >::handle_packet_sent ( const packet_type aPacket)
pure virtual

◆ handle_transfer_failure()

template<typename CharType >
virtual void neolib::i_basic_packet_connection_owner< CharType >::handle_transfer_failure ( const packet_type aPacket,
const boost::system::error_code &  aError 
)
pure virtual

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