Interface MessageFunction

    • Method Detail

      • request

        ResponseFuture request​(EventType eventType,
                               Object request)
        Sends the given request over the MessageBus.

        The returned ResponseFuture fulfills, when a response is received or an exception during the transport of request or the reply is thrown.

        Parameters:
        eventType - the EventType of the request
        request - the request to send
        Returns:
        a ResponseFuture that can be queried for the result