Interface ServerOperation<P extends ServerOperationParameters<M>,​M extends ServerOperationMessage>

    • Method Detail

      • invoke

        void invoke​(ServerOperation.Request<P> request,
                    ServerOperation.ResponseChannel<M> responseChannel)
             throws Exception
        Executes the operation asynchronously on the server side.
        request - The client request containing the configuration for the execution
        responseChannel - The channel which the server uses to notify the client
        Exception - In the case of a server side error during the execution of the operation an exception is thrown. Catching this exception on the client side can be used to implement error handling.