Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfEncodeMessageBody
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfEncodeMessageBody
- Record Components:
abi- Contract ABI.callSet- Must be specified in non deploy message. In case of deploy message contains parameters of constructor. Function call parameters.isInternal- True if internal message body must be encoded.signer- Signing parameters.processingTryIndex- Used in message processing with retries. Encoder uses the provided try index to calculate message expiration time. Expiration timeouts will grow with every retry. Default value is 0. Processing try index.address- Since ABI version 2.3 destination address of external inbound message is used in message body signature calculation. Should be provided when signed external inbound message body is created. Otherwise can be omitted. Destination address of the messagesignatureId- Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled
- Enclosing class:
Abi
public static record Abi.ParamsOfEncodeMessageBody(Abi.ABI abi, Abi.CallSet callSet, Boolean isInternal, Abi.Signer signer, Integer processingTryIndex, String address, Long signatureId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeMessageBody(Abi.ABI abi, Abi.CallSet callSet, Boolean isInternal, Abi.Signer signer, Integer processingTryIndex, String address, Long signatureId) Creates an instance of aParamsOfEncodeMessageBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.address()Returns the value of theaddressrecord component.callSet()Returns the value of thecallSetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisInternalrecord component.Returns the value of theprocessingTryIndexrecord component.Returns the value of thesignatureIdrecord component.signer()Returns the value of thesignerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfEncodeMessageBody
public ParamsOfEncodeMessageBody(Abi.ABI abi, Abi.CallSet callSet, Boolean isInternal, Abi.Signer signer, Integer processingTryIndex, String address, Long signatureId) Creates an instance of aParamsOfEncodeMessageBodyrecord class.- Parameters:
abi- the value for theabirecord componentcallSet- the value for thecallSetrecord componentisInternal- the value for theisInternalrecord componentsigner- the value for thesignerrecord componentprocessingTryIndex- the value for theprocessingTryIndexrecord componentaddress- the value for theaddressrecord componentsignatureId- the value for thesignatureIdrecord 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). -
abi
Returns the value of theabirecord component.- Returns:
- the value of the
abirecord component
-
callSet
Returns the value of thecallSetrecord component.- Returns:
- the value of the
callSetrecord component
-
isInternal
Returns the value of theisInternalrecord component.- Returns:
- the value of the
isInternalrecord component
-
signer
Returns the value of thesignerrecord component.- Returns:
- the value of the
signerrecord component
-
processingTryIndex
Returns the value of theprocessingTryIndexrecord component.- Returns:
- the value of the
processingTryIndexrecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
signatureId
Returns the value of thesignatureIdrecord component.- Returns:
- the value of the
signatureIdrecord component
-