com.altair.hwm.interfaces
Interface IHWInteraction

All Known Implementing Classes:
HWPMInteraction

public interface IHWInteraction

Title: IHWInteraction

Description: The interface which dictates the way PM or HDM app (HDMHWInteraction)should have their implementation for HWPM interaction

Company: Altair Engineering, Inc.


Method Summary
 void AddItemToJScriptContext(java.lang.String strContKey, java.lang.Object objContValue)
          Add scope to the java script interpreter
 java.lang.String EvalTCLCmd(java.lang.String strCmd)
          Send the command(query) through the socket to the Tcl side.
 java.lang.Object ExecuteJavaScript(java.lang.String strCmd)
          Execute a command as a java script on this class
 void Initialize(java.lang.String[] arrstrArgs)
          Initialize function, used when HDM interaction calss is instantiated initializes their view, etc.
 java.lang.Object RemoveItemFromJScriptContext(java.lang.String strContKey)
          Remove the scope from the javascript interpreter
 

Method Detail

Initialize

void Initialize(java.lang.String[] arrstrArgs)
                throws java.lang.Exception
Initialize function, used when HDM interaction calss is instantiated initializes their view, etc.

Parameters:
-
Throws:
java.lang.Exception

AddItemToJScriptContext

void AddItemToJScriptContext(java.lang.String strContKey,
                             java.lang.Object objContValue)
Add scope to the java script interpreter

Parameters:
String - strContKey - The javascript context to be added
Object - objContValue - The javascript context object to be added

RemoveItemFromJScriptContext

java.lang.Object RemoveItemFromJScriptContext(java.lang.String strContKey)
Remove the scope from the javascript interpreter

Parameters:
String - strContKey - The javascript context to be added
Returns:

ExecuteJavaScript

java.lang.Object ExecuteJavaScript(java.lang.String strCmd)
                                   throws java.lang.Exception
Execute a command as a java script on this class

Parameters:
strCmd - The command to execute
Throws:
java.lang.Exception

EvalTCLCmd

java.lang.String EvalTCLCmd(java.lang.String strCmd)
Send the command(query) through the socket to the Tcl side. Wait for return queries, and process them till an ack is received for this. This method may be called by either