Android Open Source - Android-Wifi-Hotspot-Manager-Class Client Scan Result






From Project

Back to project page Android-Wifi-Hotspot-Manager-Class.

License

The source code is released under:

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...

If you think the Android project Android-Wifi-Hotspot-Manager-Class 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

/*
 * Copyright 2013 WhiteByte (Nick Russler, Ahmet Yueksektepe).
 */*from   w w w  . ja va2s .co  m*/
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.whitebyte.wifihotspotutils;

public class ClientScanResult {

  private String IpAddr;
  private String HWAddr;
  private String Device;
  private boolean isReachable;

  public ClientScanResult(String ipAddr, String hWAddr, String device, boolean isReachable) {
    super();
    this.IpAddr = ipAddr;
    this.HWAddr = hWAddr;
    this.Device = device;
    this.isReachable = isReachable;
  }

  public String getIpAddr() {
    return IpAddr;
  }
  public void setIpAddr(String ipAddr) {
    IpAddr = ipAddr;
  }


  public String getHWAddr() {
    return HWAddr;
  }
  public void setHWAddr(String hWAddr) {
    HWAddr = hWAddr;
  }

  
  public String getDevice() {
    return Device;
  }
  public void setDevice(String device) {
    Device = device;
  }

  
  public boolean isReachable() {
    return isReachable;
  }
  public void setReachable(boolean isReachable) {
    this.isReachable = isReachable;
  }
  
}




Java Source Code List

com.whitebyte.hotspotcontrolexample.Main.java
com.whitebyte.wifihotspotutils.ClientScanResult.java
com.whitebyte.wifihotspotutils.FinishScanListener.java
com.whitebyte.wifihotspotutils.WIFI_AP_STATE.java
com.whitebyte.wifihotspotutils.WifiApManager.java