java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.FunctionHeader
- Record Components:
expire
- Message expiration time in seconds. If not specified - calculated automatically from message_expiration_timeout(), try_index and message_expiration_timeout_grow_factor() (if ABI includes `expire` header).time
- If not specified, `now` is used (if ABI includes `time` header). Message creation time in milliseconds.pubkey
- Encoded in `hex`. If not specified, method fails with exception (if ABI includes `pubkey` header).. Public key is used by the contract to check the signature.
- Enclosing class:
Abi
Includes several hidden function parameters that contract
uses for security, message delivery monitoring and replay protection reasons.
The actual set of header fields depends on the contract's ABI.
If a contract's ABI does not include some headers, then they are not filled. The ABI function header.
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionHeader
(Integer expire, Long time, String pubkey) Creates an instance of aFunctionHeader
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.expire()
Returns the value of theexpire
record component.final int
hashCode()
Returns a hash code value for this object.pubkey()
Returns the value of thepubkey
record component.time()
Returns the value of thetime
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
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)
. -
expire
Returns the value of theexpire
record component.- Returns:
- the value of the
expire
record component
-
time
Returns the value of thetime
record component.- Returns:
- the value of the
time
record component
-
pubkey
Returns the value of thepubkey
record component.- Returns:
- the value of the
pubkey
record component
-