package fi.vtt.simantics.procore.internal; import org.simantics.db.ServerI; import org.simantics.db.exception.DatabaseException; class VirtualServer implements ServerI { private boolean active = false; @Override public void start() throws DatabaseException { active = true; } @Override public void stop() throws DatabaseException { active = false; } @Override public boolean isActive() { return active; } @Override public synchronized String getAddress() throws DatabaseException { return ""; } // @Override // public synchronized ServerAddress getServerAddress() throws DatabaseException { // return new ServerAddress(""); // } @Override public String execute(String command) throws DatabaseException { return null; } @Override public String executeAndDisconnect(String command) throws DatabaseException { return null; } }