\App\GatewayModule\ModelsNetworkManager

Network manager

Summary

Methods
Properties
Constants
__construct()
getHostname()
getIpAddresses()
getMacAddresses()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getInterfaces()
$commandManager
N/A

Properties

$commandManager

$commandManager : \App\CoreModule\Models\CommandManager

Type

normal — Command manager

Methods

__construct()

__construct(\App\CoreModule\Models\CommandManager  $commandManager) : mixed

Constructor

Parameters

\App\CoreModule\Models\CommandManager $commandManager

Command manager

Returns

mixed

getHostname()

getHostname() : string

Returns the gateway's hostname

Returns

string —

Hostname

getIpAddresses()

getIpAddresses() : string[][]

Returns IPv4 and IPv6 addresses of the gateway

Returns

string[][] —

IPv4 and IPv6 addresses

getMacAddresses()

getMacAddresses() : string[]

Returns MAC addresses of the gateway

Returns

string[] —

MAC addresses array

getInterfaces()

getInterfaces() : string[]

Returns network interfaces

Returns

string[] —

Network interfaces