Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ResultOfEncodeMessage
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ResultOfEncodeMessage
- Record Components:
message- Message BOC encoded with `base64`.dataToSign- Returned in case of `Signer::External`. Can be used for external message signing. Is this case you need to use this data to create signature and then produce signed message using `abi.attach_signature`. Optional data to be signed encoded in `base64`.address- Destination address.messageId- Message id.
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionResultOfEncodeMessage(String message, String dataToSign, String address, String messageId) Creates an instance of aResultOfEncodeMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.Returns the value of thedataToSignrecord component.final 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.Returns the value of themessageIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResultOfEncodeMessage
Creates an instance of aResultOfEncodeMessagerecord class.- Parameters:
message- the value for themessagerecord componentdataToSign- the value for thedataToSignrecord componentaddress- the value for theaddressrecord componentmessageId- the value for themessageIdrecord 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 themessagerecord component.- Returns:
- the value of the
messagerecord component
-
dataToSign
Returns the value of thedataToSignrecord component.- Returns:
- the value of the
dataToSignrecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-