package chat;

/**
 * \interface Chatter
 * Provides a chatter model.
 */
public interface Chatter {
	/**
	 * receive a message
	 * \param msg message
	 * \param c chatter who sends the message
	 */	
	public void receiveAMessage(String msg, Chatter c);
	
	/**
	 * \return chatter's pseudo
	 */
	public String getPseudo();

	/**
	 * join notification
	 * \param c chatter who joins
	 */
	void joinNotification(Chatter c);
	
	/**
	 * quit notification
	 * \param c chatter who quits
	 */
	void quitNotification(Chatter c);
}
