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
    • 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 invite
        invitation - the invitation message
        Throws:
        ServerException - an error happened in the server application