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 aMessageNode
record class. -
Method Summary
Modifier and TypeMethodDescriptionbounce()
Returns the value of thebounce
record component.Returns the value of thedecodedBody
record component.dst()
Returns the value of thedst
record component.Returns the value of thedstTransactionId
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.id()
Returns the value of theid
record component.src()
Returns the value of thesrc
record component.Returns the value of thesrcTransactionId
record component.final String
toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record 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 aMessageNode
record class.- Parameters:
id
- the value for theid
record componentsrcTransactionId
- the value for thesrcTransactionId
record componentdstTransactionId
- the value for thedstTransactionId
record componentsrc
- the value for thesrc
record componentdst
- the value for thedst
record componentvalue
- the value for thevalue
record componentbounce
- the value for thebounce
record componentdecodedBody
- the value for thedecodedBody
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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
srcTransactionId
Returns the value of thesrcTransactionId
record component.- Returns:
- the value of the
srcTransactionId
record component
-
dstTransactionId
Returns the value of thedstTransactionId
record component.- Returns:
- the value of the
dstTransactionId
record component
-
src
Returns the value of thesrc
record component.- Returns:
- the value of the
src
record component
-
dst
Returns the value of thedst
record component.- Returns:
- the value of the
dst
record component
-
value
Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-
bounce
Returns the value of thebounce
record component.- Returns:
- the value of the
bounce
record component
-
decodedBody
Returns the value of thedecodedBody
record component.- Returns:
- the value of the
decodedBody
record component
-