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