68,6 → 68,20 |
private $_info = null; |
|
/** |
* transmitted bytes rate |
* |
* @var int |
*/ |
private $_txRate = null; |
|
/** |
* received bytes rate |
* |
* @var int |
*/ |
private $_rxRate = null; |
|
/** |
* Returns $_drops. |
* |
* @see NetDevice::$_drops |
222,4 → 236,55 |
{ |
$this->_info = $info; |
} |
/** |
* Returns $_rxRate. |
* |
* @see NetDevice::$_rxRate |
* |
* @return int |
*/ |
public function getRxRate() |
{ |
return $this->_rxRate; |
} |
|
/** |
* Sets $_rxRate. |
* |
* @param int $rxRate received bytes rate |
* |
* @see NetDevice::$_rxRate |
* |
* @return void |
*/ |
public function setRxRate($rxRate) |
{ |
$this->_rxRate = $rxRate; |
} |
|
/** |
* Returns $_txRate. |
* |
* @see NetDevice::$_txRate |
* |
* @return int |
*/ |
public function getTxRate() |
{ |
return $this->_txRate; |
} |
|
/** |
* Sets $_txRate. |
* |
* @param int $txRate transmitted bytes rate |
* |
* @see NetDevice::$_txRate |
* |
* @return void |
*/ |
public function setTxRate($txRate) |
{ |
$this->_txRate = $txRate; |
} |
} |