com.clickntap.api.RemoteConsole Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Stripecube Show documentation
Show all versions of Stripecube Show documentation
Stripecube is an open source Java framework for Web Applications
package com.clickntap.api;
import java.util.List;
import com.caucho.hessian.client.HessianProxyFactory;
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();
}
}