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 aMessageMonitoringResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.error()
Returns the value of theerror
record component.hash()
Returns the value of thehash
record component.final int
hashCode()
Returns a hash code value for this object.status()
Returns the value of thestatus
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetransaction
record component.com.fasterxml.jackson.databind.JsonNode
userData()
Returns the value of theuserData
record 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 aMessageMonitoringResult
record class.- Parameters:
hash
- the value for thehash
record componentstatus
- the value for thestatus
record componenttransaction
- the value for thetransaction
record componenterror
- the value for theerror
record componentuserData
- the value for theuserData
record 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 thehash
record component.- Returns:
- the value of the
hash
record component
-
status
Returns the value of thestatus
record component.- Returns:
- the value of the
status
record component
-
transaction
Returns the value of thetransaction
record component.- Returns:
- the value of the
transaction
record component
-
error
Returns the value of theerror
record component.- Returns:
- the value of the
error
record component
-
userData
public com.fasterxml.jackson.databind.JsonNode userData()Returns the value of theuserData
record component.- Returns:
- the value of the
userData
record component
-