mn::net::basic_ip4_endpoint Class Reference
  #include <mn_basic_ip4_endpoint.hpp>
 Inheritance diagram for mn::net::basic_ip4_endpoint:
 Inheritance diagram for mn::net::basic_ip4_endpoint: Collaboration diagram for mn::net::basic_ip4_endpoint:
 Collaboration diagram for mn::net::basic_ip4_endpoint:| Public Member Functions | |
| basic_ip4_endpoint (const uint16_t &port=0) noexcept | |
| basic_ip4_endpoint (const basic_ip4_address &ip, const uint16_t &port) noexcept | |
| basic_ip4_endpoint (const basic_ip4_endpoint &pOther) noexcept | |
| basic_endpoint * | get_copy () override | 
| Get a copy from this.  More... | |
| basic_ip4_address | get_ip () MN_DEPRECATED | 
| Get the host IP address.  More... | |
|  Public Member Functions inherited from mn::net::basic_ip_endpoint< basic_ip4_address, address_family::inet_v4 > | |
| basic_ip_endpoint (const ip_type &ip, const uint16_t &port) noexcept | |
| Construct a basic_ip_endpoint by giving ip address and port.  More... | |
| basic_ip_endpoint (const self_type &pOther) noexcept | |
| Construct a basic_ip_endpoint by copying another one.  More... | |
| uint16_t | get_port () | 
| Get the port number.  More... | |
| ip_type | get_host () | 
| Get the host IP address.  More... | |
| address_family | get_famile () | 
| Get the address family of the address.  More... | |
| void | set_port (const uint16_t &port) | 
| Set a port number, between 0-9999.  More... | |
| void | set_host (const ip_type &ip) | 
| Set a new the host IP address.  More... | |
| bool | is_multicast () | 
| Is the host address a multicast address.  More... | |
| bool | is_loopback () | 
| Is the host address a loopaddress.  More... | |
| self_type & | operator= (const self_type &pOther) | 
| Assigns another basic_ip_endpoint.  More... | |
| bool | operator== (const self_type &pOther) | 
| Is the right basic_endpoint equel with this.  More... | |
| bool | operator!= (const self_type &pOther) | 
| Is the right basic_endpoint not equel with this.  More... | |
| bool | operator< (const self_type &pOther) const | 
| smaler as .. - odering  More... | |
| virtual void | swap (self_type &rhs) noexcept | 
| Private Types | |
| using | base_type = basic_ip_endpoint< basic_ip4_address, address_family::inet_v4 > | 
| Additional Inherited Members | |
|  Public Types inherited from mn::net::basic_ip_endpoint< basic_ip4_address, address_family::inet_v4 > | |
| using | ip_type = basic_ip4_address | 
| using | self_type = basic_ip_endpoint< basic_ip4_address, TAF > | 
|  Protected Attributes inherited from mn::net::basic_ip_endpoint< basic_ip4_address, address_family::inet_v4 > | |
| ip_type | m_ipAdress | 
| uint16_t | m_iPort | 
Member Typedef Documentation
◆ base_type
| 
 | private | 
Constructor & Destructor Documentation
◆ basic_ip4_endpoint() [1/3]
| 
 | noexcept | 
◆ basic_ip4_endpoint() [2/3]
| 
 | noexcept | 
◆ basic_ip4_endpoint() [3/3]
| 
 | noexcept | 
Member Function Documentation
◆ get_copy()
| 
 | overridevirtual | 
◆ get_ip()
| 
 | inline | 
Get the host IP address.
- Returns
- The host IP address.
- Note
- deprecated
The documentation for this class was generated from the following files: