Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Processing.ParamsOfSendMessage
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Processing.ParamsOfSendMessage
- Record Components:
message
- Message BOC.abi
- If this parameter is specified and the message has the `expire` header then expiration time will be checked against the current time to prevent unnecessary sending of already expired message. The `message already expired` error will be returned in this case. Note, that specifying `abi` for ABI compliant contracts is strongly recommended, so that proper processing strategy can be chosen. Optional message ABI.sendEvents
- Flag for requesting events sending. Default is `false`.
- Enclosing class:
Processing
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfSendMessage
(String message, Abi.ABI abi, Boolean sendEvents) Creates an instance of aParamsOfSendMessage
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.final 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.Returns the value of thesendEvents
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfSendMessage
Creates an instance of aParamsOfSendMessage
record class.- Parameters:
message
- the value for themessage
record componentabi
- the value for theabi
record componentsendEvents
- the value for thesendEvents
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)
. -
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-
sendEvents
Returns the value of thesendEvents
record component.- Returns:
- the value of the
sendEvents
record component
-