Public Member Functions | Static Public Member Functions | List of all members
LogicalNetworkInterface Class Reference

An IP network interface the GevServer can be bound to. More...

#include <cvb/gevserver/logical_network_interface.hpp>

Public Member Functions

IPAddressType IPAddress () const
 Gets the address of the interface. More...
 
void SetIPAddress (const IPAddressType &ipAddress)
 Sets the address of the interface as string and converted uint. More...
 
IPAddressTypeUInt IPAddressUInt () const
 Gets the address of the interface as unsigned integer. More...
 
void SetIPAddressUInt (const IPAddressTypeUInt &ipAddressUInt)
 Sets the address of the interface as unsigned integer and converted string ip address. More...
 
IPAddressType IPv4Mask () const
 Gets the subnet mask of the Address. More...
 
void IPv4Mask (const IPAddressType &ipv4Mask)
 Sets the subnet mask of the Address. More...
 

Static Public Member Functions

static std::vector< LogicalNetworkInterfaceGetAllAvailable ()
 Gets all available network interfaces usable by the GevServer. More...
 

Detailed Description

An IP network interface the GevServer can be bound to.

Member Function Documentation

◆ GetAllAvailable()

static std::vector<LogicalNetworkInterface> GetAllAvailable ( )
inlinestatic

Gets all available network interfaces usable by the GevServer.

Returns
Array containing all available network interfaces.
Examples
GevServer/QmlGevServer.

◆ IPAddress()

IPAddressType IPAddress ( ) const
inline

Gets the address of the interface.

◆ IPAddressUInt()

IPAddressTypeUInt IPAddressUInt ( ) const
inline

Gets the address of the interface as unsigned integer.

◆ IPv4Mask() [1/2]

IPAddressType IPv4Mask ( ) const
inline

Gets the subnet mask of the Address.

◆ IPv4Mask() [2/2]

void IPv4Mask ( const IPAddressType ipv4Mask)
inline

Sets the subnet mask of the Address.

◆ SetIPAddress()

void SetIPAddress ( const IPAddressType ipAddress)
inline

Sets the address of the interface as string and converted uint.

◆ SetIPAddressUInt()

void SetIPAddressUInt ( const IPAddressTypeUInt ipAddressUInt)
inline

Sets the address of the interface as unsigned integer and converted string ip address.