Class InitialResponseBuilder<Request extends InitialTransactionRequest<Response>,​Response extends InitialTransactionResponse>

  • All Implemented Interfaces:
    ResponseBuilder<Request,​Response>

    public abstract class InitialResponseBuilder<Request extends InitialTransactionRequest<Response>,​Response extends InitialTransactionResponse>
    extends io.hotmoka.local.internal.transactions.AbstractResponseBuilder<Request,​Response>
    The creator of the response for an initial transaction. Initial transactions do not consume gas.
    • Constructor Detail

      • InitialResponseBuilder

        protected InitialResponseBuilder​(TransactionReference reference,
                                         Request request,
                                         io.hotmoka.local.internal.NodeInternal node)
                                  throws TransactionRejectedException
        Creates the builder of the response.
        Parameters:
        reference - the reference to the transaction that is building the response
        request - the request of the transaction
        node - the node that is creating the response
        Throws:
        TransactionRejectedException - if the builder cannot be created