#include <network_ip.h>
The NetworkAdapterInterface represents a physical Ethernet connection.
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (NetworkAdapterInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.networkadapter") | |
|
private |
MAXON_METHOD Result<Int> GetAdapterIndex | ( | ) | const |
Returns the index of the adapter. This value is system dependent.
MAXON_METHOD String GetName | ( | ) | const |
Returns the name of the network adapter.
MAXON_METHOD Result<BaseArray<UChar> > GetMacAddress | ( | ) | const |
Returns the mac address of the adapter.
MAXON_METHOD Bool SetMacAddress | ( | const BaseArray< UChar > & | macAddress | ) |
MAXON_METHOD void SetInterfaceName | ( | const String & | interfaceName | ) |
MAXON_METHOD String GetInterfaceName | ( | ) | const |
MAXON_METHOD Result<void> Append | ( | const NetworkIpAddr & | ipAddr, |
const NetworkIpAddr & | broadcastAddress, | ||
const NetworkIpAddr & | subnetMask | ||
) |
MAXON_METHOD Int64 GetLinkSpeed | ( | ) | const |
MAXON_METHOD void SetLinkSpeed | ( | Int64 | linkSpeed | ) |
MAXON_METHOD Bool IsSetViaDhcp | ( | ) | const |
MAXON_METHOD void SetViaDhcp | ( | Bool | setViaDhcp | ) |
MAXON_METHOD String GetDescription | ( | ) | const |
Returns a description of the network adapter.
MAXON_METHOD void SetDescription | ( | const String & | description | ) |
MAXON_METHOD void SetInterfaceIndex | ( | Int | interfaceIndex | ) |
MAXON_METHOD Int GetInterfaceIndex | ( | ) | const |
MAXON_METHOD Bool IsLoopback | ( | ) | const |
TODO: (Sebastian) please explain what this is.
MAXON_METHOD void SetLoopback | ( | Bool | isLoopback | ) |
MAXON_METHOD Result<BaseArray<NetworkIpAddressStruct> > GetIpAddresses | ( | ) | const |
Returns the number of ip addresses connected to this adapter. This defines the valid range for GetIpAddress(), GetBroadcastAddress() and GetSubnetMask().
MAXON_METHOD DataDictionary GetCustomData | ( | ) | const |
Returns custom data connected to this device. Currently unused.
MAXON_METHOD HashInt GetHashCode | ( | ) | const |
Returns the hash code of the object.