All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cleeng.api.Config Maven / Gradle / Ivy

Go to download

When you are building your website or application with Java, you can use the Cleeng Java SDK. It simplifies the use of the Cleeng API as it handles user login and content access, and deals with all JSON-RPC specific code.

There is a newer version: 2.8.2
Show newest version
package com.cleeng.api;

public class Config {

    public int socketTimeout = -1;
    public int connectTimeout = -1;
    public int requestTimeout = -1;
    public int retryCount = 0;
    public boolean useNonBlockingMode = false;
    public String platformUrl;
    public String platformUrlSandbox;
    public boolean useSandbox;

    public Config(int socketTimeout,
                  int connectTimeout,
                  int requestTimeout,
                  int retryCount,
                  boolean useNonBlockingMode,
                  String platformUrl,
                  String platformUrlSandbox,
                  boolean useSandbox) {

        this.socketTimeout = socketTimeout;
        this.connectTimeout = connectTimeout;
        this.requestTimeout = requestTimeout;
        this.retryCount = retryCount;
        this.useNonBlockingMode = useNonBlockingMode;
        this.platformUrl = platformUrl;
        this.platformUrlSandbox = platformUrlSandbox;
        this.useSandbox = useSandbox;
    }

    public Config() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy