|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DaemonApplication
Interface used by DaemonApplications.
Method Summary | |
---|---|
void |
destroy()
The application should destroy resources created in init() here. |
void |
init(InstallationLayout layout,
String[] args)
Threads should be created, along with sockets. |
void |
start()
Start threads and bind sockets here. |
void |
stop(String[] args)
Stop threads and close sockets opened in start() here. |
Method Detail |
---|
void init(InstallationLayout layout, String[] args) throws Exception
layout
- the application's installation home layoutargs
- the shifted arguments after the installation home path and
the command arguments are removed
Exception
void start()
void stop(String[] args) throws Exception
args
- shifted arguments without installation path or stop command
Exception
void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |