@RemoteServiceRelativePath(value="Chat")
public interface OKMChatService
extends com.google.gwt.user.client.rpc.RemoteService
| 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) |
List<GWTUser> |
getLoggedUsers() |
List<String> |
getPendingChatRoomUser() |
List<String> |
getPendingMessage(String room) |
List<String> |
getUsersInRoom(String room) |
void |
login() |
void |
logout() |
String |
usersInRoom(String room) |
void login()
throws OKMException
OKMExceptionvoid logout()
throws OKMException
OKMExceptionList<GWTUser> getLoggedUsers() throws OKMException
OKMExceptionString createNewChatRoom(String user) throws OKMException
OKMExceptionList<String> getPendingMessage(String room) throws OKMException
OKMExceptionvoid addMessageToRoom(String room, String msg) throws OKMException
OKMExceptionvoid closeRoom(String room) throws OKMException
OKMExceptionvoid addUserToChatRoom(String room, String user) throws OKMException
OKMExceptionString usersInRoom(String room) throws OKMException
OKMExceptionList<String> getUsersInRoom(String room) throws OKMException
OKMExceptionCopyright © 2018 Open Knowledge Management System S.L.. All rights reserved.