Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfDecodeMessage
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfDecodeMessage
- Record Components:
abi- contract ABImessage- Message BOCallowPartial- Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)functionName- Function name or function id if is known in advance
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfDecodeMessage(Abi.ABI abi, String message, Boolean allowPartial, String functionName, Abi.DataLayout dataLayout) Creates an instance of aParamsOfDecodeMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.Returns the value of theallowPartialrecord component.Returns the value of thedataLayoutrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionNamerecord component.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.
-
Constructor Details
-
ParamsOfDecodeMessage
public ParamsOfDecodeMessage(Abi.ABI abi, String message, Boolean allowPartial, String functionName, Abi.DataLayout dataLayout) Creates an instance of aParamsOfDecodeMessagerecord class.- Parameters:
abi- the value for theabirecord componentmessage- the value for themessagerecord componentallowPartial- the value for theallowPartialrecord componentfunctionName- the value for thefunctionNamerecord componentdataLayout- the value for thedataLayoutrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
abi
-
message
-
allowPartial
Returns the value of theallowPartialrecord component.- Returns:
- the value of the
allowPartialrecord component
-
functionName
Returns the value of thefunctionNamerecord component.- Returns:
- the value of the
functionNamerecord component
-
dataLayout
Returns the value of thedataLayoutrecord component.- Returns:
- the value of the
dataLayoutrecord component
-