Skip to content

Instantly share code, notes, and snippets.

@donatasnicequestion
Created July 28, 2012 12:10
Show Gist options
  • Save donatasnicequestion/3193050 to your computer and use it in GitHub Desktop.
Save donatasnicequestion/3193050 to your computer and use it in GitHub Desktop.
Simple Chat model definition for ADF active Chat sample * described in a blog @see http://donatas.nicequestion.com
package com.nicequestion.donatas.chat.model;
import java.util.List;
public interface Chat {
public void login(ChatListener listener);
public void logout(ChatListener listener);
public void addMessage(String message);
public List<String> getMessages();
public List<String> getUsers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment