Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.communication.chat.ChatHistory Class Reference

List of all members.

Public Member Functions

void addEntry (ChatElement entry)
List< ChatElementgetEntries ()
void clear ()

Detailed Description

This class describes the history of incoming messages of a chat. It saves entries in the form of ChatElement instances.


Member Function Documentation

void de.fu_berlin.inf.dpp.communication.chat.ChatHistory.addEntry ( ChatElement  entry)

Adds a new ChatElement

Parameters:
entrythat describes the chat message
void de.fu_berlin.inf.dpp.communication.chat.ChatHistory.clear ( )

Removes all added ChatElements from the ChatHistory

List<ChatElement> de.fu_berlin.inf.dpp.communication.chat.ChatHistory.getEntries ( )

Returns all added ChatElements

Returns:
 All Classes Namespaces Files Functions Variables Enumerations