Network
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
at line 115
string
getName()
Name des Interfaces
at line 124
integer
getRxbytes()
getRxbytes
at line 133
integer
getRxdropped()
getRxdropped
at line 142
integer
getRxerrors()
getRxerrors
at line 151
integer
getRxpackets()
getRxpackets
at line 160
integer
getTxbytes()
getTxbytes
at line 169
integer
getTxdropped()
getTxdropped
at line 178
integer
getTxerrors()
getTxerrors
at line 187
integer
getTxpackets()
getTxpackets
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