Interface ChatService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("chat") public interface ChatService extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Chat Service.- Since:
- 8.0.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ChatService.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invite(String[] users, String invitation)
Invites the users to join the chatvoid
post(String message)
Posts a message to the chat
-
-
-
Method Detail
-
post
void post(String message) throws ServerException
Posts a message to the chat- Parameters:
message
- the message text- Throws:
ServerException
- an error happened in the server application
-
invite
void invite(String[] users, String invitation) throws ServerException
Invites the users to join the chat- Parameters:
users
- user names to inviteinvitation
- the invitation message- Throws:
ServerException
- an error happened in the server application
-
-