java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.MessageNode
- Record Components:
id- Message id.srcTransactionId- This field is missing for an external inbound messages. Source transaction id.dstTransactionId- This field is missing for an external outbound messages. Destination transaction id.src- Source address.dst- Destination address.value- Transferred tokens value.bounce- Bounce flag.decodedBody- Library tries to decode message body using provided `params.abi_registry`. This field will be missing if none of the provided abi can be used to decode. Decoded body.
- Enclosing class:
Net
-
Constructor Summary
ConstructorsConstructorDescriptionMessageNode(String id, String srcTransactionId, String dstTransactionId, String src, String dst, String value, Boolean bounce, Abi.DecodedMessageBody decodedBody) Creates an instance of aMessageNoderecord class. -
Method Summary
Modifier and TypeMethodDescriptionbounce()Returns the value of thebouncerecord component.Returns the value of thedecodedBodyrecord component.dst()Returns the value of thedstrecord component.Returns the value of thedstTransactionIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.src()Returns the value of thesrcrecord component.Returns the value of thesrcTransactionIdrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
MessageNode
public MessageNode(String id, String srcTransactionId, String dstTransactionId, String src, String dst, String value, Boolean bounce, Abi.DecodedMessageBody decodedBody) Creates an instance of aMessageNoderecord class.- Parameters:
id- the value for theidrecord componentsrcTransactionId- the value for thesrcTransactionIdrecord componentdstTransactionId- the value for thedstTransactionIdrecord componentsrc- the value for thesrcrecord componentdst- the value for thedstrecord componentvalue- the value for thevaluerecord componentbounce- the value for thebouncerecord componentdecodedBody- the value for thedecodedBodyrecord 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). -
id
-
srcTransactionId
Returns the value of thesrcTransactionIdrecord component.- Returns:
- the value of the
srcTransactionIdrecord component
-
dstTransactionId
Returns the value of thedstTransactionIdrecord component.- Returns:
- the value of the
dstTransactionIdrecord component
-
src
-
dst
-
value
-
bounce
-
decodedBody
Returns the value of thedecodedBodyrecord component.- Returns:
- the value of the
decodedBodyrecord component
-