Class ChatController
- java.lang.Object
-
- com.logicaldoc.gui.frontend.client.dashboard.chat.ChatController
-
public class ChatController extends Object
Implements the Observer pattern to distribute events on the chat- Since:
- 8.0.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObserver(ChatObserver observer)
static ChatController
get()
void
newMessage(long id, Date date, String username, String message)
void
removeObserver(ChatObserver observer)
-
-
-
Method Detail
-
get
public static ChatController get()
-
addObserver
public void addObserver(ChatObserver observer)
-
removeObserver
public void removeObserver(ChatObserver observer)
-
-