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

com.clickntap.api.RemoteConsole Maven / Gradle / Ivy

There is a newer version: 1.30
Show newest version
package com.clickntap.api;

import com.caucho.hessian.client.HessianProxyFactory;

import java.util.List;

public class RemoteConsole implements ConsoleInterface {

    private ConsoleInterface console;

    public void setServerUrl(String serverUrl) throws Exception {
        console = (ConsoleInterface) new HessianProxyFactory().create(ConsoleInterface.class, serverUrl);
    }

    public void resetCache() throws Exception {
        console.resetCache();
    }

    public List executionTimes() throws Exception {
        return console.executionTimes();
    }

    public List lastErrors() throws Exception {
        return console.lastErrors();
    }

    public void clearErrors() throws Exception {
        console.clearErrors();
    }

    public String getVersion() throws Exception {
        return console.getVersion();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy