public interface Server
Basic interface for a Stardog server which allows a server to be started or shut down.
Modifier and Type | Method and Description |
---|---|
SocketAddress |
address()
Return the address of this server.
|
boolean |
isRunning()
Return whether or not the server is currently running
|
Server |
start()
Start this server so it can accept requests from clients.
|
void |
stop()
Stop this server so it can no longer receive client requests.
|
Server start() throws ServerException
ServerException
- if the server cannot be startedboolean isRunning()
void stop()
SocketAddress address()
running
,
or where it will run once started
.Copyright © 2010-2016 Stardog Union. All Rights Reserved.