com.genesyslab.omsdk.mil
Interface MILLCAManager


public interface MILLCAManager

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.

Since:
7.1.006.00
See Also:
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

addLCAListener

public void addLCAListener(MILLCAListener listener)
Adds a MILLCAListener to the listener list for LCA events.

Parameters:
listener - the listener to be added.

removeLCAListener

public void removeLCAListener(MILLCAListener listener)
Removes a MILLCAListener from the listener list for LCA events.

Parameters:
listener - the listener to be removed.

getRunMode

public MILLCARunMode getRunMode()
Returns the application's LCA runmode.

Returns:
the application's LCA runmode.