public TSSProvider(java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail
setStandalone
public void setStandalone(boolean standalone)
throws java.lang.Throwable
Script playback is said standalone if it is not started from TestManager
Throws:
java.lang.Throwable
getStandalone
public boolean getStandalone()
throws java.lang.Throwable
Throws:
java.lang.Throwable
serverStart
public int serverStart(int[] port)
throws java.lang.Throwable
Throws:
java.lang.Throwable
serverStop
public int serverStop(int port)
throws java.lang.Throwable
Throws:
java.lang.Throwable
connect
public int connect(java.lang.String host,
int port,
int id)
throws java.lang.Throwable
Throws:
java.lang.Throwable
shutdown
public int shutdown()
throws java.lang.Throwable
Throws:
java.lang.Throwable
disconnect
public int disconnect()
throws java.lang.Throwable
Disconnect from TSS.
Returns true if successful, false if not.
Throws:
java.lang.Throwable
download
public int download(java.lang.String[] fileList)
throws java.lang.Throwable
Throws:
java.lang.Throwable
getPathFromTSS
public java.lang.String getPathFromTSS(long pathKey)
throws java.lang.Throwable
Throws:
java.lang.Throwable
logGenericEvent
public int logGenericEvent(short eventCategory,
short eventType,
short result,
short reason,
java.lang.String description,
java.lang.Object namedValueProperties)
throws java.lang.Throwable
Throws:
java.lang.Throwable
getTSSInternalConstant
public short getTSSInternalConstant(java.lang.String name)
throws java.lang.Throwable
Throws:
java.lang.Throwable
getTSSInternalStringConstant
public java.lang.String getTSSInternalStringConstant(java.lang.String name)
throws java.lang.Throwable
Throws:
java.lang.Throwable
getTSSConstant
public int getTSSConstant(java.lang.String name)
throws java.lang.Throwable
Throws:
java.lang.Throwable
newNamedValueArrayInstance
public java.lang.Object newNamedValueArrayInstance(int size)
newNamedValueInstance
public java.lang.Object newNamedValueInstance(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable
Throws:
java.lang.Throwable
timerStart
public void timerStart(java.lang.String label)
throws java.lang.Throwable
Throws:
java.lang.Throwable
timerStop
public void timerStop(java.lang.String label)
throws java.lang.Throwable
Throws:
java.lang.Throwable
context
public int context(int key,
java.lang.String value)
throws java.lang.Throwable
Throws:
java.lang.Throwable
getTSSSharedVarValue
public int getTSSSharedVarValue(java.lang.String var)
throws java.lang.Throwable