|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.services.SynergyNetService
synergynetframework.appsystem.services.net.webserver.WebServerService
public class WebServerService
The Class WebServerService.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
The Constant SERVICE_NAME. |
static java.lang.String |
SERVICE_TYPE
The Constant SERVICE_TYPE. |
Constructor Summary | |
---|---|
WebServerService()
Instantiates a new web server service. |
Method Summary | |
---|---|
boolean |
hasStarted()
Checks for started. |
void |
shutdown()
Shutdown. |
void |
start()
Start. |
void |
stop()
Stop. |
void |
update()
Used to avoid threading issues. |
Methods inherited from class synergynetframework.appsystem.services.SynergyNetService |
---|
registerServiceMessageListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_NAME
public static final java.lang.String SERVICE_TYPE
Constructor Detail |
---|
public WebServerService()
Method Detail |
---|
public boolean hasStarted()
SynergyNetService
hasStarted
in class SynergyNetService
public void shutdown()
SynergyNetService
shutdown
in class SynergyNetService
public void start() throws CouldNotStartServiceException
SynergyNetService
CouldNotStartServiceException
- the could not start service exceptionpublic void stop() throws ServiceNotRunningException
SynergyNetService
stop
in class SynergyNetService
ServiceNotRunningException
- the service not running exceptionpublic void update()
SynergyNetService
update
in class SynergyNetService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |