java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Client.AbiConfig
- Record Components:
workchain
- Workchain id that is used by default in DeploySetmessageExpirationTimeout
- Must be specified in milliseconds. Default is 40000 (40 sec). Message lifetime for contracts which ABI includes "expire" header.messageExpirationTimeoutGrowFactor
- Default is 1.5 Factor that increases the expiration timeout for each retry
- Enclosing class:
Client
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of themessageExpirationTimeout
record component.Returns the value of themessageExpirationTimeoutGrowFactor
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theworkchain
record component.
-
Constructor Details
-
AbiConfig
public AbiConfig(Long workchain, Long messageExpirationTimeout, Long messageExpirationTimeoutGrowFactor) Creates an instance of aAbiConfig
record class.- Parameters:
workchain
- the value for theworkchain
record componentmessageExpirationTimeout
- the value for themessageExpirationTimeout
record componentmessageExpirationTimeoutGrowFactor
- the value for themessageExpirationTimeoutGrowFactor
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)
. -
workchain
Returns the value of theworkchain
record component.- Returns:
- the value of the
workchain
record component
-
messageExpirationTimeout
Returns the value of themessageExpirationTimeout
record component.- Returns:
- the value of the
messageExpirationTimeout
record component
-
messageExpirationTimeoutGrowFactor
Returns the value of themessageExpirationTimeoutGrowFactor
record component.- Returns:
- the value of the
messageExpirationTimeoutGrowFactor
record component
-