|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides the MIL Local Control Agent-related feature.
Local Control Agent (LCA) is a daemon component that monitors, starts, and stops Genesys server applications as well as third-party server applications that you have configured in the Genesys configuration environment.
If the use-lca option defined in the Configuration Layer is true
for your application,
you can get a MILLCAManager interface able to communicate with LCA.
LCA sends a MILLCAEvent event that propagates your
application runmode in the Genesys environment.
Define a MILLCAListener to handle changes
in the application runmode,
and add it to the MILLCAManager by calling the addLCAListener(MILLCAListener)
method.
When the application's runmode is MILLCARunMode.EXIT, it means that LCA stops this application.
MILLCARunMode,
MILLCAEvent,
MILLCAListener| Method Summary | |
void |
addLCAListener(MILLCAListener listener)
Adds a MILLCAListener to the listener list
for LCA events. |
MILLCARunMode |
getRunMode()
Returns the application's LCA runmode. |
void |
removeLCAListener(MILLCAListener listener)
Removes a MILLCAListener from the listener list
for LCA events. |
| Method Detail |
public void addLCAListener(MILLCAListener listener)
MILLCAListener to the listener list
for LCA events.
listener - the listener to be added.public void removeLCAListener(MILLCAListener listener)
MILLCAListener from the listener list
for LCA events.
listener - the listener to be removed.public MILLCARunMode getRunMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||