Package deltix.qsrv.hf.tickdb.test
Interface EmbeddedServer
-
public interface EmbeddedServer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DXTickDB
getDB()
Returns Timebase running with serverint
getPort()
Server portint
start()
Starts Server and returns local server portvoid
stop()
Stops server
-
-
-
Method Detail
-
start
int start() throws java.lang.Exception
Starts Server and returns local server port- Returns:
- port associated with server
- Throws:
java.lang.Exception
-
stop
void stop() throws java.lang.Exception
Stops server- Throws:
java.lang.Exception
-
getDB
DXTickDB getDB()
Returns Timebase running with server- Returns:
- Timebase instance
-
getPort
int getPort()
Server port- Returns:
- port number
-
-