Back to project page psiandroid.
The source code is released under:
GNU General Public License
If you think the Android project psiandroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.phpsysinfo.xml; /*ww w . ja v a 2 s . c o m*/ public class PSINetworkInterface { public String name = ""; public double rxBytes = 0; public double txBytes = 0; public int err = 0; public int drops = 0; public PSINetworkInterface(String name, double rxBytes, int txBytes, int err, int drops) { this.name = name; this.rxBytes = rxBytes; this.txBytes = txBytes; this.err = err; this.drops = drops; } public String getName() { return name; } public void setName(String name) { this.name = name; } public double getRxBytes() { return rxBytes; } public void setRxBytes(double rxBytes) { this.rxBytes = rxBytes; } public double getTxBytes() { return txBytes; } public void setTxBytes(double txBytes) { this.txBytes = txBytes; } public int getErr() { return err; } public void setErr(int err) { this.err = err; } public int getDrops() { return drops; } public void setDrops(int drops) { this.drops = drops; } }