HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_Performance::net_PacketListener Class Reference

#include <NET_Performance.h>

+ Inheritance diagram for NET_Performance::net_PacketListener:

Public Member Functions

 net_PacketListener (ASIO_IOContext &ctx)
 
- Public Member Functions inherited from NET_SocketListener< ASIO_TCPAcceptor >
void start (int initial_port, int max_port_range=-1, bool use_system_port=false, const ASIO_IPAddress &address=ASIO_IPAddressV4())
 
void start ()
 
void start (const ASIO_TCPEndpoint &ep)
 
void close (bool force) override
 
int port () const
 
void setPort (int port)
 
void setMaxPort (int port)
 
void setUseSystemPort (bool use_sys)
 
void setUseIPv6 (bool use_v6)
 
bool useIPv6 () const
 
void setBindAddress (const ASIO_IPAddress &bind_address)
 
const ASIO_IPAddressbindAddress () const
 
endpoint_type endpoint () const
 
bool isOpen () const override
 
- Public Member Functions inherited from NET_ISocketListener
virtual ~NET_ISocketListener ()=default
 

Additional Inherited Members

- Public Types inherited from NET_SocketListener< ASIO_TCPAcceptor >
using acceptor_type = ASIO_TCPAcceptor
 
using socket_type = hboost::asio::basic_stream_socket< typename ASIO_TCPAcceptor::protocol_type >
 
using endpoint_type = typename ASIO_TCPAcceptor::endpoint_type
 
- Protected Member Functions inherited from NET_SocketListener< ASIO_TCPAcceptor >
 NET_SocketListener (ASIO_IOContext &context)
 
virtual void init_ ()
 
virtual void onAccept_ (const hboost::system::error_code &ec, socket_type socket)=0
 
void startAccept_ ()
 Start an async accept. If the accept was a success onAccept_ is called. More...
 
- Protected Member Functions inherited from NET_ISocketListener
 NET_ISocketListener (ASIO_IOContext &context)
 
void fail (const hboost::system::error_code &ec, const char *what)
 Called when something failed with the socket listener. More...
 
- Protected Attributes inherited from NET_SocketListener< ASIO_TCPAcceptor >
ASIO_TCPAcceptor myAcceptor
 
std::conditional_t
< socket_info< socket_type >
::uses_port, PortInfo, Empty > 
myPortInfo
 
- Protected Attributes inherited from NET_ISocketListener
NET_ISocketGroupmySocketGroup
 
ASIO_IOContextmyIOContext
 
NET_ConnectionManager myConnectionManager
 

Detailed Description

Definition at line 71 of file NET_Performance.h.

Constructor & Destructor Documentation

NET_Performance::net_PacketListener::net_PacketListener ( ASIO_IOContext ctx)
inline

Definition at line 74 of file NET_Performance.h.


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