Class HttpJsonTrustedContractObservationService

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static se.arkalix.ArConsumerFactory<HttpJsonTrustedContractObservationService> factory()  
      se.arkalix.util.concurrent.Future<java.util.Optional<se.arkalix.core.plugin.cp.TrustedContractNegotiationDto>> getByNamesAndId​(java.lang.String name1, java.lang.String name2, long id)
      Requests some negotiation session uniquely identified by the names of the two negotiating parties and an identifier.
      se.arkalix.description.ServiceDescription service()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • service

        public se.arkalix.description.ServiceDescription service()
        Specified by:
        service in interface se.arkalix.ArConsumer
      • getByNamesAndId

        public se.arkalix.util.concurrent.Future<java.util.Optional<se.arkalix.core.plugin.cp.TrustedContractNegotiationDto>> getByNamesAndId​(java.lang.String name1,
                                                                                                                                              java.lang.String name2,
                                                                                                                                              long id)
        Description copied from interface: ArTrustedContractObservationService
        Requests some negotiation session uniquely identified by the names of the two negotiating parties and an identifier.
        Specified by:
        getByNamesAndId in interface ArTrustedContractObservationService
        Parameters:
        name1 - Name of the one party.
        name2 - Name of the other party.
        id - Negotiation session identifier.
        Returns:
        Current negotiation state, if any such is associated with the given names and identifier.