|
HDK
|
#include <NET_Performance.h>
Inheritance diagram for NET_Performance::net_PacketListener:Public Member Functions | |
| net_PacketListener (ASIO_IOContext::executor_type &exc) | |
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_IPAddress & | bindAddress () 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 &ctx) | |
| NET_SocketListener (const ASIO_IOContext::executor_type &executor) | |
| 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 &ctx) | |
| NET_ISocketListener (const ASIO_IOContext::executor_type &executor) | |
| 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_ISocketGroup * | mySocketGroup |
| ASIO_IOContext::executor_type | myExecutor |
| NET_ConnectionManager | myConnectionManager |
Definition at line 71 of file NET_Performance.h.
|
inline |
Definition at line 74 of file NET_Performance.h.