Interface WebsocketsMessageService

  • All Superinterfaces:
    com.google.gwt.user.client.rpc.RemoteService

    @RemoteServiceRelativePath("WebsocketsMessageService")
    public interface WebsocketsMessageService
    extends com.google.gwt.user.client.rpc.RemoteService
    Dummy service interface only used to simplify serialization/deserialization of MessageEvent object using GWT serialization framework.
    Since:
    8.1.1
    Author:
    Marco Meschieri - LogicalDOC
    • Method Detail

      • getMessage

        EventMessage getMessage​(EventMessage message)
        The RPC Serialization is designed for function call. The client serialize the function argument and the server the return value. So, if we want exchange the same object, it’s important that in the service definition the args and the return value are the same class
        Parameters:
        message - the event message
        Returns:
        the event message