Interface ChatService
- 
- All Superinterfaces:
 com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("chat") public interface ChatService extends com.google.gwt.user.client.rpc.RemoteServiceThe 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 classChatService.Instance 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvite(String[] users, String invitation)Invites the users to join the chatvoidpost(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
 
 - 
 
 -