Interface Extractor


  • public interface Extractor
    Provides support for building custom response extractors to be used in the ServiceProxy.
    • Method Detail

      • extractResponse

        TOMMessage extractResponse​(TOMMessage[] replies,
                                   int sameContent,
                                   int lastReceived)
        Extracts a reply given a set of replies from a set of replicas.
        Parameters:
        replies - Set of replies from a set of replicas.
        sameContent - Whether or not the replies are supposed to have the same content
        lastReceived - Last reply received from the replicas. This is an index in relation to the `replies` parameter.
        Returns: