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
-
Constructor Summary
ConstructorsConstructorDescriptionMessageMonitoringParams(Processing.MonitoredMessage message, Integer waitUntil, Map<String, Object> userData) Creates an instance of aMessageMonitoringParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.userData()Returns the value of theuserDatarecord component.Returns the value of thewaitUntilrecord component.
-
Constructor Details
-
MessageMonitoringParams
public MessageMonitoringParams(Processing.MonitoredMessage message, Integer waitUntil, Map<String, Object> userData) Creates an instance of aMessageMonitoringParamsrecord 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 themessagerecord component.- Returns:
- the value of the
messagerecord component
-
waitUntil
Returns the value of thewaitUntilrecord component.- Returns:
- the value of the
waitUntilrecord component
-
userData
Returns the value of theuserDatarecord component.- Returns:
- the value of the
userDatarecord component
-