Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Processing.MessageMonitoringResult
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Processing.MessageMonitoringResult
- Record Components:
hash- Hash of the message.status- Processing status.transaction- In case of `Finalized` the transaction is extracted from the block. In case of `Timeout` the transaction is emulated using the last known account state.error- In case of `Timeout` contains possible error reason.userData- User defined data related to this message. This is the same value as passed before with `MessageMonitoringParams` or `SendMessageParams`.
- Enclosing class:
Processing
public static record Processing.MessageMonitoringResult(String hash, Processing.MessageMonitoringStatus status, Processing.MessageMonitoringTransaction transaction, String error, com.fasterxml.jackson.databind.JsonNode userData)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMessageMonitoringResult(String hash, Processing.MessageMonitoringStatus status, Processing.MessageMonitoringTransaction transaction, String error, com.fasterxml.jackson.databind.JsonNode userData) Creates an instance of aMessageMonitoringResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionrecord component.com.fasterxml.jackson.databind.JsonNodeuserData()Returns the value of theuserDatarecord component.
-
Constructor Details
-
MessageMonitoringResult
public MessageMonitoringResult(String hash, Processing.MessageMonitoringStatus status, Processing.MessageMonitoringTransaction transaction, String error, com.fasterxml.jackson.databind.JsonNode userData) Creates an instance of aMessageMonitoringResultrecord class.- Parameters:
hash- the value for thehashrecord componentstatus- the value for thestatusrecord componenttransaction- the value for thetransactionrecord componenterror- the value for theerrorrecord componentuserData- the value for theuserDatarecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
hash
-
status
-
transaction
Returns the value of thetransactionrecord component.- Returns:
- the value of the
transactionrecord component
-
error
-
userData
-