Module io.hotmoka.local
Package io.hotmoka.local
Class InitialResponseBuilder<Request extends InitialTransactionRequest<Response>,Response extends InitialTransactionResponse>
java.lang.Object
io.hotmoka.local.internal.transactions.AbstractResponseBuilder<Request,Response>
io.hotmoka.local.InitialResponseBuilder<Request,Response>
- 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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.hotmoka.local.internal.transactions.AbstractResponseBuilder
classLoader, consensus, node, reference, request, storageTypeToClass -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInitialResponseBuilder(TransactionReference reference, Request request, io.hotmoka.local.internal.NodeInternal node) Creates the builder of the response. -
Method Summary
Methods inherited from class io.hotmoka.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.local.ResponseBuilder
getResponse
-
Constructor Details
-
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 responserequest- the request of the transactionnode- the node that is creating the response- Throws:
TransactionRejectedException- if the builder cannot be created
-