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 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invite(List<String> users, String invitation)
    Invites the users to join the chat
    void
    post(String message)
    Posts a message to the chat
  • Method Details

    • 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(List<String> users, String invitation) throws ServerException
      Invites the users to join the chat
      Parameters:
      users - user names to invite
      invitation - the invitation message
      Throws:
      ServerException - an error happened in the server application