src/main/java/net/cpas/Cpas.java
public void configure(String apiUrl, String apiKey, String serverIp, String serverPort) {
        synchronized(mutex) {
            this.apiUrl = Objects.requireNonNull(apiUrl, "apiUrl");
            this.apiKey = Objects.requireNonNull(apiKey, "apiKey");
            this.serverIp = Objects.requireNonNull(serverIp, "serverIp");
            this.serverPort = Objects.requireNonNull(serverPort, "serverPort");
        }
    }
/**
     * Configures or reconfigures the {@link Cpas} object. This function will hold a thread if any
     * api calls are in the process of creation.
     *
     * @param apiUrl     The base url used in any given api call.
     * @param apiKey     The api key used to access the CPAS API.
     * @param serverIp   The ip address the server is running on or bound to if there are more than one.
     * @param serverPort The port the server is bound to.
     */
Configures or reconfigures the  Cpas object. This function will hold a thread if any
api calls are in the process of creation.

@param apiUrl     The base url used in any given api call.
@param apiKey     The api key used to access the CPAS API.
@param serverIp   The ip address the server is running on or bound to if there are more than one.
@param serverPort The port the server is bound to.
Configures or reconfigures the Cpas object . This function will hold a thread if any api calls are in the process of creation . @param apiUrl The base url used in any given api call . @param apiKey The api key used to access the CPAS API . @param serverIp The ip address the server is running on or bound to if there are more than one . @param serverPort The port the server is bound to .
public void configure(String apiUrl, String apiKey, String serverIp, String serverPort) {
        synchronized(mutex) {
            this.apiUrl = Objects.requireNonNull(apiUrl, "apiUrl");
            this.apiKey = Objects.requireNonNull(apiKey, "apiKey");
            this.serverIp = Objects.requireNonNull(serverIp, "serverIp");
            this.serverPort = Objects.requireNonNull(serverPort, "serverPort");
        }
    }
public void configure ( String apiUrl , String apiKey , String serverIp , String serverPort ) { synchronized ( mutex ) { this . apiUrl = Objects . requireNonNull ( apiUrl , "apiUrl" ) ; this . apiKey = Objects . requireNonNull ( apiKey , "apiKey" ) ; this . serverIp = Objects . requireNonNull ( serverIp , "serverIp" ) ; this . serverPort = Objects . requireNonNull ( serverPort , "serverPort" ) ; } }
Configures or reconfigures the {@link Cpas} object.
Configures or reconfigures the { @link Cpas } object .