Back to project page honsProjSockets.
The source code is released under:
GNU General Public License
If you think the Android project honsProjSockets 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.heeere.android.dnssdtuto; //from w w w . ja v a2 s. c o m public class DeviceInstance { private String address, name; private int port; public DeviceInstance(String dName, String dAddress, int dPort){ name = dName; address = dAddress; port = dPort; } public String toString(){ return name; } public String getAddress(){ return address; } public int getPort(){ return port; } }