mn::net::basic_endpoint Class Referenceabstract

This abstract basic class represents an endpoint/socket address. More...

#include <mn_basic_endpoint.hpp>

+ Inheritance diagram for mn::net::basic_endpoint:

Public Member Functions

virtual basic_endpointget_copy ()=0
 Get a copy from this. More...
 

Detailed Description

This abstract basic class represents an endpoint/socket address.

Note
To use this, you need to subclass it. All of your endpoint should be derived from the basic_endpoint class. Then implement the all virtual abstracted functions.
Author
Amber-Sophia Schröck

Member Function Documentation

◆ get_copy()

virtual basic_endpoint* mn::net::basic_endpoint::get_copy ( )
pure virtual

Get a copy from this.

Returns
The copy of this.

Implemented in mn::net::basic_ip6_endpoint, and mn::net::basic_ip4_endpoint.


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