java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Client.ClientConfig
- Record Components:
localStoragePath
- For file based storage is a folder name where SDK will store its data. For browser based is a browser async storage key prefix. Default (recommended) value is "~/.tonclient" for native environments and ".tonclient" for web-browser.
- Enclosing class:
Client
public static record Client.ClientConfig(Client.BindingConfig binding, Client.NetworkConfig network, Client.CryptoConfig crypto, Client.AbiConfig abi, Client.BocConfig boc, Client.ProofsConfig proofs, String localStoragePath)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionClientConfig
(Client.BindingConfig binding, Client.NetworkConfig network, Client.CryptoConfig crypto, Client.AbiConfig abi, Client.BocConfig boc, Client.ProofsConfig proofs, String localStoragePath) Creates an instance of aClientConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.binding()
Returns the value of thebinding
record component.boc()
Returns the value of theboc
record component.crypto()
Returns the value of thecrypto
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.Returns the value of thelocalStoragePath
record component.network()
Returns the value of thenetwork
record component.proofs()
Returns the value of theproofs
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ClientConfig
public ClientConfig(Client.BindingConfig binding, Client.NetworkConfig network, Client.CryptoConfig crypto, Client.AbiConfig abi, Client.BocConfig boc, Client.ProofsConfig proofs, String localStoragePath) Creates an instance of aClientConfig
record class.- Parameters:
binding
- the value for thebinding
record componentnetwork
- the value for thenetwork
record componentcrypto
- the value for thecrypto
record componentabi
- the value for theabi
record componentboc
- the value for theboc
record componentproofs
- the value for theproofs
record componentlocalStoragePath
- the value for thelocalStoragePath
record 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)
. -
binding
Returns the value of thebinding
record component.- Returns:
- the value of the
binding
record component
-
network
Returns the value of thenetwork
record component.- Returns:
- the value of the
network
record component
-
crypto
Returns the value of thecrypto
record component.- Returns:
- the value of the
crypto
record component
-
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-
boc
Returns the value of theboc
record component.- Returns:
- the value of the
boc
record component
-
proofs
Returns the value of theproofs
record component.- Returns:
- the value of the
proofs
record component
-
localStoragePath
Returns the value of thelocalStoragePath
record component.- Returns:
- the value of the
localStoragePath
record component
-