public class ChatServlet extends OKMRemoteServiceServlet implements OKMChatService
WORKSPACE| Constructor and Description |
|---|
ChatServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageToRoom(String room,
String msg) |
void |
addUserToChatRoom(String room,
String user) |
void |
closeRoom(String room) |
String |
createNewChatRoom(String user) |
static ChatManager |
getChatManager()
getChatManager
|
List<GWTUser> |
getLoggedUsers() |
List<String> |
getPendingChatRoomUser() |
List<String> |
getPendingMessage(String room) |
List<String> |
getUsersInRoom(String room) |
void |
init(javax.servlet.ServletConfig config) |
void |
login() |
void |
logout() |
String |
usersInRoom(String room) |
doGetSerializationPolicy, getLanguage, getUserWorkspaceSession, saveUserWorkspaceSession, setLanguage, updateSessionManagercheckPermutationStrongName, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class OKMRemoteServiceServletjavax.servlet.ServletExceptionpublic void login()
throws OKMException
login in interface OKMChatServiceOKMExceptionpublic void logout()
throws OKMException
logout in interface OKMChatServiceOKMExceptionpublic List<GWTUser> getLoggedUsers() throws OKMException
getLoggedUsers in interface OKMChatServiceOKMExceptionpublic String createNewChatRoom(String user) throws OKMException
createNewChatRoom in interface OKMChatServiceOKMExceptionpublic List<String> getPendingMessage(String room) throws OKMException
getPendingMessage in interface OKMChatServiceOKMExceptionpublic List<String> getPendingChatRoomUser()
getPendingChatRoomUser in interface OKMChatServicepublic void addMessageToRoom(String room, String msg) throws OKMException
addMessageToRoom in interface OKMChatServiceOKMExceptionpublic void closeRoom(String room) throws OKMException
closeRoom in interface OKMChatServiceOKMExceptionpublic void addUserToChatRoom(String room, String user) throws OKMException
addUserToChatRoom in interface OKMChatServiceOKMExceptionpublic String usersInRoom(String room) throws OKMException
usersInRoom in interface OKMChatServiceOKMExceptionpublic List<String> getUsersInRoom(String room) throws OKMException
getUsersInRoom in interface OKMChatServiceOKMExceptionpublic static ChatManager getChatManager()
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.