com.altair.hwm.beans.hm
Class HMEvalTCLComm

java.lang.Object
  extended by com.altair.hwm.beans.hm.HMEvalTCLComm

public class HMEvalTCLComm
extends java.lang.Object

Title: HMEvalTCLComm

Description: This class provides the actual communication with HyperMesh to evaluate a TCL script file. This can be used by beans that need the functionality of HMEvalTCL bean but not its UI.

Company: Altair Engineering, Inc.


Constructor Summary
HMEvalTCLComm(HWMCommMgr hwmCommMgr)
          Constructor
 
Method Summary
 void EvalTCL(java.lang.String strSessionName, java.lang.String strScriptFileName)
          Sends a eval tcl script command to HM vis HWMComm layer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMEvalTCLComm

public HMEvalTCLComm(HWMCommMgr hwmCommMgr)
Constructor

Parameters:
hwmCommMgr - The communication manager wqhich facilitates the communication with HM
Method Detail

EvalTCL

public void EvalTCL(java.lang.String strSessionName,
                    java.lang.String strScriptFileName)
             throws java.lang.Exception
Sends a eval tcl script command to HM vis HWMComm layer

Parameters:
strSesionName - Session name to use for communication with HM
strScriptFileName - The TCL file that needs to be evaluated
Throws:
java.lang.Exception - thrown if the command fails. "getMessage" will give the description of the error that occured