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 aClientConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.binding()Returns the value of thebindingrecord component.boc()Returns the value of thebocrecord component.crypto()Returns the value of thecryptorecord 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 thelocalStoragePathrecord component.network()Returns the value of thenetworkrecord component.proofs()Returns the value of theproofsrecord component.final StringtoString()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 aClientConfigrecord class.- Parameters:
binding- the value for thebindingrecord componentnetwork- the value for thenetworkrecord componentcrypto- the value for thecryptorecord componentabi- the value for theabirecord componentboc- the value for thebocrecord componentproofs- the value for theproofsrecord componentlocalStoragePath- the value for thelocalStoragePathrecord 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 thebindingrecord component.- Returns:
- the value of the
bindingrecord component
-
network
Returns the value of thenetworkrecord component.- Returns:
- the value of the
networkrecord component
-
crypto
Returns the value of thecryptorecord component.- Returns:
- the value of the
cryptorecord component
-
abi
Returns the value of theabirecord component.- Returns:
- the value of the
abirecord component
-
boc
Returns the value of thebocrecord component.- Returns:
- the value of the
bocrecord component
-
proofs
Returns the value of theproofsrecord component.- Returns:
- the value of the
proofsrecord component
-
localStoragePath
Returns the value of thelocalStoragePathrecord component.- Returns:
- the value of the
localStoragePathrecord component
-