Back to project page mobile-chat.
The source code is released under:
GNU General Public License
If you think the Android project mobile-chat 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 br.com.etyllica.sonat.client; /* w ww . jav a2 s.co m*/ public abstract class ClientImpl { protected String host; protected int port; protected ClientListener listener; public ClientImpl(String host, int port) { super(); this.host = host; this.port = port; } public ClientImpl(String host, int port, ClientListener listener) { super(); this.host = host; this.port = port; this.listener = listener; } public ClientListener getListener() { return listener; } public void setListener(ClientListener listener) { this.listener = listener; } public String getHost() { return host; } public int getPort() { return port; } }