@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
OKMException
void logout() throws OKMException
OKMException
List<GWTUser> getLoggedUsers() throws OKMException
OKMException
String createNewChatRoom(String user) throws OKMException
OKMException
List<String> getPendingMessage(String room) throws OKMException
OKMException
void addMessageToRoom(String room, String msg) throws OKMException
OKMException
void closeRoom(String room) throws OKMException
OKMException
void addUserToChatRoom(String room, String user) throws OKMException
OKMException
String usersInRoom(String room) throws OKMException
OKMException
List<String> getUsersInRoom(String room) throws OKMException
OKMException
Copyright © 2016. All rights reserved.