Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Processing.MessageMonitoringParams
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Processing.MessageMonitoringParams
- Record Components:
message
- Monitored message identification. Can be provided as a message's BOC or (hash, address) pair. BOC is a preferable way because it helps to determine possible error reason (using TVM execution of the message).waitUntil
- Block time Must be specified as a UNIX timestamp in secondsuserData
- User defined data associated with this message. Helps to identify this message when user received `MessageMonitoringResult`.
- Enclosing class:
Processing
public static record Processing.MessageMonitoringParams(Processing.MonitoredMessage message, Long waitUntil, com.fasterxml.jackson.databind.JsonNode userData)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMessageMonitoringParams
(Processing.MonitoredMessage message, Long waitUntil, com.fasterxml.jackson.databind.JsonNode userData) Creates an instance of aMessageMonitoringParams
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.message()
Returns the value of themessage
record component.final String
toString()
Returns a string representation of this record class.com.fasterxml.jackson.databind.JsonNode
userData()
Returns the value of theuserData
record component.Returns the value of thewaitUntil
record component.
-
Constructor Details
-
MessageMonitoringParams
public MessageMonitoringParams(Processing.MonitoredMessage message, Long waitUntil, com.fasterxml.jackson.databind.JsonNode userData) Creates an instance of aMessageMonitoringParams
record class.
-
-
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)
. -
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
waitUntil
Returns the value of thewaitUntil
record component.- Returns:
- the value of the
waitUntil
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
-