java.lang.Object
tech.deplant.java4ever.binding.json.JsonData
tech.deplant.java4ever.binding.Client.NetworkConfig
- Enclosing class:
- Client
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccess key to GraphQL API.List of DApp Server addresses.Frequency of sync latency detection.Maximum value for the endpoint's blockchain data syncronization latency (time-lag).Maximum time for sequential reconnections.Timeout that is used to process message delivery for the contracts which ABI does not include "expire" header.The number of automatic message processing retries that SDK performs in case of `Message Expired (507)` error - but only for those messages which local emulation was successful or failed with replay protection error.Deprecated.Maximum time difference between server and client.Default timeout for http requests.Deprecated.Maximum number of randomly chosen endpoints the library uses to broadcast a message.DApp Server public address.Maximum timeout that is used for query response.
-
Constructor Details
-
NetworkConfig
public NetworkConfig()
-
-
Method Details
-
serverAddress
DApp Server public address. For instance, for `net.ton.dev/graphql` GraphQL endpoint the server address will be net.ton.dev -
endpoints
List of DApp Server addresses. -
networkRetriesCount
Deprecated.Deprecated. -
maxReconnectTimeout
Maximum time for sequential reconnections. -
reconnectTimeout
Deprecated.Deprecated -
messageRetriesCount
The number of automatic message processing retries that SDK performs in case of `Message Expired (507)` error - but only for those messages which local emulation was successful or failed with replay protection error. -
messageProcessingTimeout
Timeout that is used to process message delivery for the contracts which ABI does not include "expire" header. If the message is not delivered within the specified timeout the appropriate error occurs. -
waitForTimeout
Maximum timeout that is used for query response. -
outOfSyncThreshold
Maximum time difference between server and client. -
sendingEndpointCount
Maximum number of randomly chosen endpoints the library uses to broadcast a message. -
latencyDetectionInterval
Frequency of sync latency detection. -
maxLatency
Maximum value for the endpoint's blockchain data syncronization latency (time-lag). Library periodically checks the current endpoint for blockchain data synchronization latency. If the latency (time-lag) is less then `NetworkConfig.max_latency` then library selects another endpoint. -
queryTimeout
Default timeout for http requests. -
accessKey
Access key to GraphQL API.
-