IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.services
Class TSSProvider

java.lang.Object
  extended by com.rational.test.ft.services.TSSProvider
Direct Known Subclasses:
TSSRemoteProvider

public class TSSProvider
extends java.lang.Object


Field Summary
protected  java.lang.Class arrayOfTSSNamedValues
           
protected  com.rational.test.ft.util.FtDebug debug
           
protected  java.lang.Class tssConstantsClass
           
protected  java.lang.Class tssIntegerClass
           
protected  java.lang.Class tssInternalClass
           
protected  java.lang.Class tssLogClass
           
protected  java.lang.Class tssMeasureClass
           
protected  java.lang.Class tssNamedValueClass
           
protected  java.lang.Class tssSessionClass
           
protected  java.lang.Class tssStandaloneClass
           
protected  java.lang.Class tssUtilityClass
           
 
Constructor Summary
TSSProvider(java.lang.ClassLoader classLoader)
           
 
Method Summary
 int connect(java.lang.String host, int port, int id)
           
 int context(int key, java.lang.String value)
           
 int disconnect()
          Disconnect from TSS.
 int download(java.lang.String[] fileList)
           
 java.lang.String getPathFromTSS(long pathKey)
           
 boolean getStandalone()
           
 int getTSSConstant(java.lang.String name)
           
 short getTSSInternalConstant(java.lang.String name)
           
 java.lang.String getTSSInternalStringConstant(java.lang.String name)
           
 int getTSSSharedVarValue(java.lang.String var)
           
 int logGenericEvent(short eventCategory, short eventType, short result, short reason, java.lang.String description, java.lang.Object namedValueProperties)
           
 java.lang.Object newNamedValueArrayInstance(int size)
           
 java.lang.Object newNamedValueInstance(java.lang.String name, java.lang.String value)
           
 int serverStart(int[] port)
           
 int serverStop(int port)
           
 void setStandalone(boolean standalone)
          Script playback is said standalone if it is not started from TestManager
 int shutdown()
           
 void timerStart(java.lang.String label)
           
 void timerStop(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected com.rational.test.ft.util.FtDebug debug

tssSessionClass

protected java.lang.Class tssSessionClass

tssUtilityClass

protected java.lang.Class tssUtilityClass

tssStandaloneClass

protected java.lang.Class tssStandaloneClass

tssIntegerClass

protected java.lang.Class tssIntegerClass

tssLogClass

protected java.lang.Class tssLogClass

tssInternalClass

protected java.lang.Class tssInternalClass

tssNamedValueClass

protected java.lang.Class tssNamedValueClass

arrayOfTSSNamedValues

protected java.lang.Class arrayOfTSSNamedValues

tssMeasureClass

protected java.lang.Class tssMeasureClass

tssConstantsClass

protected java.lang.Class tssConstantsClass
Constructor Detail

TSSProvider

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
Throws:
java.lang.Throwable