Interface Server
- 
public interface ServerBasic interface for a Stardog server which allows a server to be started or shut down.
- Since:
 - 0.6.9
 - Version:
 - 2.2
 - Author:
 - Michael Grove
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.SocketAddressaddress()Return the address of this server.booleanisRunning()Return whether or not the server is currently runningServerstart()Start this server so it can accept requests from clients.voidstop()Stop this server so it can no longer receive client requests. 
 - 
 
- 
- 
Method Detail
- 
start
Server start() throws ServerException
Start this server so it can accept requests from clients. This has no effect if the server is already running.- Returns:
 - this server
 - Throws:
 ServerException- if the server cannot be started
 
- 
isRunning
boolean isRunning()
Return whether or not the server is currently running- Returns:
 - true if running, false otherwise
 
 
- 
stop
void stop()
Stop this server so it can no longer receive client requests. This has no effect if the server is not running. 
 - 
 
 -