Back to project page wolPi.
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.
package de.matthesrieke.wolpi.settings; // ww w . j av a 2 s . c o m /** * Configuration instance for a (stored) host * * @author matthes rieke * */ public class HostConfiguration { private SSHConnection sshConnection; private WolSettings wolSettings; public HostConfiguration(SSHConnection c, WolSettings w) { this.sshConnection = c; this.wolSettings = w; } public SSHConnection getSSHConnection() { return sshConnection; } public WolSettings getWolSettings() { return wolSettings; } public String getId() { StringBuilder sb = new StringBuilder(); sb.append(getSSHConnection().getHost()); sb.append(" / "); sb.append(getWolSettings().getMacAddress()); return sb.toString(); } }