class Network extends Alvine

Network

Properties

protected string $name
protected integer $rxbytes
protected integer $rxdropped
protected integer $rxerrors
protected integer $rxpackets
protected integer $txbytes
protected integer $txdropped
protected integer $txerrors
protected integer $txpackets

Methods

__construct(string $name, integer $rxbytes, integer $rxdropped, integer $rxerrors, integer $rxpackets, integer $txbytes, integer $txdropped, integer $txerrors, integer $txpackets)

Neue Instanz

string
getName()

Name des Interfaces

integer
getRxbytes()

getRxbytes

integer
getRxdropped()

getRxdropped

integer
getRxerrors()

getRxerrors

integer
getRxpackets()

getRxpackets

integer
getTxbytes()

getTxbytes

integer
getTxdropped()

getTxdropped

integer
getTxerrors()

getTxerrors

integer
getTxpackets()

getTxpackets

static Network
getInstanceFromArray(string $name, Array|ArrayHelper $array)

getInstanceFromArray

toArray()

No description

Details

at line 95
__construct(string $name, integer $rxbytes, integer $rxdropped, integer $rxerrors, integer $rxpackets, integer $txbytes, integer $txdropped, integer $txerrors, integer $txpackets)

Neue Instanz

Parameters

string $name
integer $rxbytes
integer $rxdropped
integer $rxerrors
integer $rxpackets
integer $txbytes
integer $txdropped
integer $txerrors
integer $txpackets

at line 115
string getName()

Name des Interfaces

Return Value

string

at line 124
integer getRxbytes()

getRxbytes

Return Value

integer

at line 133
integer getRxdropped()

getRxdropped

Return Value

integer

at line 142
integer getRxerrors()

getRxerrors

Return Value

integer

at line 151
integer getRxpackets()

getRxpackets

Return Value

integer

at line 160
integer getTxbytes()

getTxbytes

Return Value

integer

at line 169
integer getTxdropped()

getTxdropped

Return Value

integer

at line 178
integer getTxerrors()

getTxerrors

Return Value

integer

at line 187
integer getTxpackets()

getTxpackets

Return Value

integer

at line 210
static Network getInstanceFromArray(string $name, Array|ArrayHelper $array)

getInstanceFromArray

"rx_bytes": 5338,
"rx_dropped": 0,
"rx_errors": 0,
"rx_packets": 36,
"tx_bytes": 648,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 8

Parameters

string $name Name des Interfaces
Array|ArrayHelper $array

Return Value

Network

at line 218
toArray()