Android Open Source - wolPi Wol Settings






From Project

Back to project page wolPi.

License

The source code is released under:

Apache License

If you think the Android project wolPi 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 de.matthesrieke.wolpi.settings;
/* ww w . ja va 2s.  co m*/
/**
 * Wake-On-Lan specific settings, covering
 * broadcast IP and target MAC address for the magic
 * packet.
 * 
 * @author matthes rieke
 *
 */
public class WolSettings {

  private static final String DEFAULT_BROADCAST_IP = "192.168.0.255";
  private String broadcastIp;
  private String macAddress;
  
  public WolSettings(String broadcastIp, String macAddress) {
    this.broadcastIp = broadcastIp;
    this.macAddress = macAddress;
  }

  public WolSettings(String mac) {
    this(DEFAULT_BROADCAST_IP, mac);
  }

  public String getBroadcastIp() {
    return broadcastIp;
  }

  public void setBroadcastIp(String broadcastIp) {
    this.broadcastIp = broadcastIp;
  }

  public String getMacAddress() {
    return macAddress;
  }

  public void setMacAddress(String macAddress) {
    this.macAddress = macAddress;
  }
  
}




Java Source Code List

de.matthesrieke.wolpi.CommandResult.java
de.matthesrieke.wolpi.Interactor.java
de.matthesrieke.wolpi.SysoutInteractor.java
de.matthesrieke.wolpi.UserInfoImpl.java
de.matthesrieke.wolpi.WolPiException.java
de.matthesrieke.wolpi.WolPi.java
de.matthesrieke.wolpi.dao.SQLiteSettingsProvider.java
de.matthesrieke.wolpi.settings.HostConfiguration.java
de.matthesrieke.wolpi.settings.SSHConnection.java
de.matthesrieke.wolpi.settings.SettingsProvider.java
de.matthesrieke.wolpi.settings.WolSettings.java
de.matthesrieke.wolpi.ui.ConfirmationDialog.java
de.matthesrieke.wolpi.ui.HostListActivity.java
de.matthesrieke.wolpi.ui.HostManagementActivity.java
de.matthesrieke.wolpi.ui.MainActivity.java
de.matthesrieke.wolpi.ui.TextViewInteractor.java
de.matthesrieke.wolpi.util.AndroidServiceLoader.java