|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.common.customlogic.HatsCustomListener
public class HatsCustomListener
Class Name: HatsCustomListener This class acts as a dispatcher service such that there need be only one listener for all custom
events and allows addition of HATS business logic. This class wll parse out the custom logic class and
settings from the events and call and forward the settings to the specified class, and then relay the results
to the Host On Demand facilities.
Class Type: Normal
Base Class: None
Intf Class: ECLCustomRecoListener, MacroCustomActionListener
Description:
| Field Summary | |
|---|---|
static String |
CLASSNAME
The fully-qualified name of this class. |
static String |
HATSCUSTOMSCREENRECOCLASSFROMSETTINGSSEPERATOR
String constant hats custom recognition seperator of class and settings. |
static String |
HATSCUSTOMSCREENRECOCLASSNOSETTINGS
String constant hats custom recognition equivalent of no settings, "". |
static String |
HATSGLOBALVARIABLECUSTOMSCREENRECOALIAS
String constant hats global variable screen reco name within the tag to listen for. |
static String |
HATSGLOBALVARIABLECUSTOMSCREENRECOFULLCLASS
String constant hats global variable screen reco class name. |
| Constructor Summary | |
|---|---|
HatsCustomListener()
The default constructor. |
|
HatsCustomListener(com.ibm.hats.runtime.ApplicationSpecificInfo asi)
Runtime constructor. |
|
| Method Summary | |
|---|---|
boolean |
DoReco(ECLCustomRecoEvent recoEvt)
Do the recognition. |
void |
execute(MacroCustomActionEvent mcaEvt)
|
static String |
getClassFromID(String id)
Retrieves the class name of the class to recieve the listened event from the ID string of the Do Reco event. |
static String |
getLabelFromID(String id,
String separator)
Retrieves the label from the ID string of the Do Reco event. |
static String |
getSettingFromID(String id)
Retrieves the settings from the ID string of the Do Reco event. |
void |
halt(MacroCustomActionEvent mcaEvt)
Halt the action. |
boolean |
isBIDIReverse()
This fuction is used to check if the orientation of the screen is different than the orientation of the screen captured, if so it will reverse the descriptior for the screen captured to match those coming from the host. |
void |
releaseHodConn()
Releases the HodConn Object from the custom code. |
void |
setBIDIReverse(boolean flag)
Sets the BIDI reverse. |
void |
setHodConn(com.ibm.hats.runtime.connmgr.HodConn conn)
Sets the HodConn object in the custom code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLASSNAME
public static final String HATSGLOBALVARIABLECUSTOMSCREENRECOALIAS
public static final String HATSGLOBALVARIABLECUSTOMSCREENRECOFULLCLASS
public static final String HATSCUSTOMSCREENRECOCLASSFROMSETTINGSSEPERATOR
public static final String HATSCUSTOMSCREENRECOCLASSNOSETTINGS
| Constructor Detail |
|---|
public HatsCustomListener(com.ibm.hats.runtime.ApplicationSpecificInfo asi)
asi - Application level infomration for the running user.public HatsCustomListener()
| Method Detail |
|---|
public boolean DoReco(ECLCustomRecoEvent recoEvt)
DoReco in interface ECLCustomRecoListenerrecoEvt - The ECLCustomRecoEvent object.
public static String getClassFromID(String id)
id - The string of the ID field in the tag.
public static String getLabelFromID(String id,
String separator)
id - The string of the ID field in the tag.separator - The String to separate the data with.
public static String getSettingFromID(String id)
id - The string of the ID field in the tag.
public void setHodConn(com.ibm.hats.runtime.connmgr.HodConn conn)
conn - The HodConn Object.public void releaseHodConn()
public void execute(MacroCustomActionEvent mcaEvt)
execute in interface MacroCustomActionListenermcaEvt - The MacroCustonActionEvent object.MacroCustomActionListener.execute( MacroCustomActionEvent )public void halt(MacroCustomActionEvent mcaEvt)
halt in interface MacroCustomActionListenermcaEvt - The MacroCustomActionEvent object.MacroCustomActionListener.halt(MacroCustomActionEvent)public boolean isBIDIReverse()
public void setBIDIReverse(boolean flag)
flag - Boolean flag setting BIDI reverse.
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||