Android Open Source - psiandroid P S I Network Interface






From Project

Back to project page psiandroid.

License

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.

Java Source Code

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;
  }
}




Java Source Code List

com.phpsysinfo.activity.HostListActivity.java
com.phpsysinfo.activity.PSIActivity.java
com.phpsysinfo.activity.PSIConfig.java
com.phpsysinfo.activity.PSIPreferencesActivity.java
com.phpsysinfo.ui.HeaderTextView.java
com.phpsysinfo.utils.FormatUtils.java
com.phpsysinfo.xml.MySSLSocketFactory.java
com.phpsysinfo.xml.PSIBat.java
com.phpsysinfo.xml.PSIDownloadData.java
com.phpsysinfo.xml.PSIErrorCode.java
com.phpsysinfo.xml.PSIHostData.java
com.phpsysinfo.xml.PSIMountPoint.java
com.phpsysinfo.xml.PSINetworkInterface.java
com.phpsysinfo.xml.PSIPrinterItem.java
com.phpsysinfo.xml.PSIPrinter.java
com.phpsysinfo.xml.PSIRaidDevice.java
com.phpsysinfo.xml.PSIRaid.java
com.phpsysinfo.xml.PSISmart.java
com.phpsysinfo.xml.PSITemperature.java
com.phpsysinfo.xml.PSIUps.java
com.phpsysinfo.xml.PSIXmlParse.java