Module io.hotmoka.node.local
Package io.hotmoka.node.local
Class AbstractInitialResponseBuilder<Request extends io.hotmoka.beans.api.requests.InitialTransactionRequest<Response>,Response extends io.hotmoka.beans.api.responses.InitialTransactionResponse>
java.lang.Object
io.hotmoka.node.local.internal.transactions.AbstractResponseBuilder<Request,Response>
io.hotmoka.node.local.internal.InitialResponseBuilderImpl<Request,Response>
io.hotmoka.node.local.AbstractInitialResponseBuilder<Request,Response>
- Type Parameters:
Request- the type of the request of the transactionResponse- the type of the response of the transaction
- All Implemented Interfaces:
ResponseBuilder<Request,Response>
public abstract class AbstractInitialResponseBuilder<Request extends io.hotmoka.beans.api.requests.InitialTransactionRequest<Response>,Response extends io.hotmoka.beans.api.responses.InitialTransactionResponse>
extends io.hotmoka.node.local.internal.InitialResponseBuilderImpl<Request,Response>
Partial implementation of the creator of the response for an initial transaction. Initial transactions do not consume gas.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classThe creator of the response from the request. -
Field Summary
Fields inherited from class io.hotmoka.node.local.internal.transactions.AbstractResponseBuilder
classLoader, consensus, node, reference, request, storageTypeToClass -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractInitialResponseBuilder(io.hotmoka.beans.api.transactions.TransactionReference reference, Request request, io.hotmoka.node.local.internal.NodeInternal node) Creates the builder of the response. -
Method Summary
Methods inherited from class io.hotmoka.node.local.internal.transactions.AbstractResponseBuilder
getClassLoader, getRequest, mkClassLoader, replaceReverifiedResponses, wrapAsTransactionRejectedExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.hotmoka.node.local.api.ResponseBuilder
getResponse
-
Constructor Details
-
AbstractInitialResponseBuilder
protected AbstractInitialResponseBuilder(io.hotmoka.beans.api.transactions.TransactionReference reference, Request request, io.hotmoka.node.local.internal.NodeInternal node) throws io.hotmoka.node.api.TransactionRejectedException Creates the builder of the response.- Parameters:
reference- the reference to the transaction that is building the responserequest- the request of the transactionnode- the node that is creating the response- Throws:
io.hotmoka.node.api.TransactionRejectedException- if the builder cannot be created
-