Subversion Repositories ALCASAR

Rev

Rev 3037 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3037 Rev 3100
Line 66... Line 66...
66
     * @var string
66
     * @var string
67
     */
67
     */
68
    private $_info = null;
68
    private $_info = null;
69
 
69
 
70
    /**
70
    /**
-
 
71
     * transmitted bytes rate
-
 
72
     *
-
 
73
     * @var int
-
 
74
     */
-
 
75
    private $_txRate = null;
-
 
76
 
-
 
77
    /**
-
 
78
     * received bytes rate
-
 
79
     *
-
 
80
     * @var int
-
 
81
     */
-
 
82
    private $_rxRate = null;
-
 
83
 
-
 
84
    /**
71
     * Returns $_drops.
85
     * Returns $_drops.
72
     *
86
     *
73
     * @see NetDevice::$_drops
87
     * @see NetDevice::$_drops
74
     *
88
     *
75
     * @return int
89
     * @return int
Line 220... Line 234...
220
     */
234
     */
221
    public function setInfo($info)
235
    public function setInfo($info)
222
    {
236
    {
223
        $this->_info = $info;
237
        $this->_info = $info;
224
    }
238
    }
-
 
239
    /**
-
 
240
     * Returns $_rxRate.
-
 
241
     *
-
 
242
     * @see NetDevice::$_rxRate
-
 
243
     *
-
 
244
     * @return int
-
 
245
     */
-
 
246
    public function getRxRate()
-
 
247
    {
-
 
248
        return $this->_rxRate;
-
 
249
    }
-
 
250
 
-
 
251
    /**
-
 
252
     * Sets $_rxRate.
-
 
253
     *
-
 
254
     * @param int $rxRate received bytes rate
-
 
255
     *
-
 
256
     * @see NetDevice::$_rxRate
-
 
257
     *
-
 
258
     * @return void
-
 
259
     */
-
 
260
    public function setRxRate($rxRate)
-
 
261
    {
-
 
262
        $this->_rxRate = $rxRate;
-
 
263
    }
-
 
264
 
-
 
265
    /**
-
 
266
     * Returns $_txRate.
-
 
267
     *
-
 
268
     * @see NetDevice::$_txRate
-
 
269
     *
-
 
270
     * @return int
-
 
271
     */
-
 
272
    public function getTxRate()
-
 
273
    {
-
 
274
        return $this->_txRate;
-
 
275
    }
-
 
276
 
-
 
277
    /**
-
 
278
     * Sets $_txRate.
-
 
279
     *
-
 
280
     * @param int $txRate transmitted bytes rate
-
 
281
     *
-
 
282
     * @see NetDevice::$_txRate
-
 
283
     *
-
 
284
     * @return void
-
 
285
     */
-
 
286
    public function setTxRate($txRate)
-
 
287
    {
-
 
288
        $this->_txRate = $txRate;
-
 
289
    }
225
}
290
}