Android Open Source - mobile-chat Client Impl






From Project

Back to project page mobile-chat.

License

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.

Java Source Code

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;
  }  
  
}




Java Source Code List

br.com.etyllica.mobile.gui.HorizontalRule.java
br.com.etyllica.sonat.adapter.mina.client.MinaChatClientHandler.java
br.com.etyllica.sonat.adapter.mina.client.MinaClient.java
br.com.etyllica.sonat.adapter.mina.server.MinaChatServerHandler.java
br.com.etyllica.sonat.adapter.mina.server.MinaServer.java
br.com.etyllica.sonat.chat.ChatServerHandler.java
br.com.etyllica.sonat.client.ClientImpl.java
br.com.etyllica.sonat.client.ClientListener.java
br.com.etyllica.sonat.client.Client.java
br.com.etyllica.sonat.server.ServerHandler.java
br.com.etyllica.sonat.server.ServerImpl.java
br.com.etyllica.sonat.server.Server.java
br.unirio.livechat.ChatActivity.java
br.unirio.livechat.LoginActivity.java
br.unirio.livechat.ServerActivity.java