Interface ICrossViewScopeResponseConsumer<T extends Serializable>

  • Type Parameters:
    T - Type of the requested data.
    All Superinterfaces:
    Serializable

    public interface ICrossViewScopeResponseConsumer<T extends Serializable>
    extends Serializable
    Processes the response obtained for a cross view scope request.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • accept

        void accept​(ICrossViewScopeResponseData<T> responses)
             throws Exception
        Handles the response returned for the request. When the response was obtained successfully, the second parameter will be null. When an error occurred and no response could be obtained, the first argument will be empty and the second argument will contain the error.
        Parameters:
        responses - All responses obtained from the request handlers.
        Throws:
        Exception - When the responses could not be processed. This exception is logged and ignored.