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, Map<String,Object> userData)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMessageMonitoringResult(String hash, Processing.MessageMonitoringStatus status, Processing.MessageMonitoringTransaction transaction, String error, Map<String, Object> 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.userData()Returns the value of theuserDatarecord component.
-
Constructor Details
-
MessageMonitoringResult
public MessageMonitoringResult(String hash, Processing.MessageMonitoringStatus status, Processing.MessageMonitoringTransaction transaction, String error, Map<String, Object> 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
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
Returns the value of thehashrecord component.- Returns:
- the value of the
hashrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
transaction
Returns the value of thetransactionrecord component.- Returns:
- the value of the
transactionrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
userData
Returns the value of theuserDatarecord component.- Returns:
- the value of the
userDatarecord component
-