1 package fi.vtt.simantics.procore.internal;
3 import org.simantics.db.ServerI;
4 import org.simantics.db.exception.DatabaseException;
6 class VirtualServer implements ServerI {
7 private boolean active = false;
10 public void start() throws DatabaseException {
15 public void stop() throws DatabaseException {
20 public boolean isActive() {
25 public synchronized String getAddress() throws DatabaseException {
30 // public synchronized ServerAddress getServerAddress() throws DatabaseException {
31 // return new ServerAddress("");
35 public String execute(String command) throws DatabaseException {
40 public String executeAndDisconnect(String command) throws DatabaseException {