com.ibm.rational.test.lt.execution.socket.custom

Interface ISckReceiveAction

  • All Superinterfaces:
    com.ibm.rational.test.lt.kernel.ICountable, com.ibm.rational.test.lt.kernel.action.IKAction, com.ibm.rational.test.lt.kernel.logging.IKLog, com.ibm.rational.test.lt.kernel.action.IKSemaphore, com.ibm.rational.test.lt.kernel.services.ITestExecutionServices, Runnable


    public interface ISckReceiveAction
    extends com.ibm.rational.test.lt.kernel.action.IKAction
    ISckReceiveAction is the interface to the built-in Receive action instance.
    It is intended for use from a Custom Receive Policy instance, implementing ISckCustomReceivePolicy.
    • Field Summary

      • Fields inherited from interface com.ibm.rational.test.lt.kernel.action.IKAction

        ABANDONED, DP_ENCRYPTED_VALUES_KEY, EXECUTING, FINISHED, HANDLETIMER, SEMWAIT, SLEEPING, Status, UNSTARTED
      • Fields inherited from interface com.ibm.rational.test.lt.kernel.logging.IKLog

        HISTORY_ALL, HISTORY_NONE, HISTORY_PAGES, HISTORY_REQUESTS, HISTORY_SCHEDULE, LOG_ALL, LOG_CONFIG, LOG_FINE, LOG_FINER, LOG_FINEST, LOG_INFO, LOG_NONE, LOG_SEVERE, LOG_WARNING, STATISTIC_ALL, STATISTIC_NONE, STATISTIC_PAGES
      • Fields inherited from interface com.ibm.rational.test.lt.kernel.services.ITestExecutionServices

        STORAGE_ENV, STORAGE_LOCAL, STORAGE_SYSTEM, STORAGE_USER
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      ISckConnectionHolder getConnectionHolder() 
      void handleException(Throwable t)
      Must be called from the Custom Receive Policy code when an exception is catched.
      void receiveSuccess()
      Must be called from the Custom Receive Policy code when it has received enough bytes, verifying some custom condition.
      • Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IKAction

        abandon, addEventBehavior, blocked, execute, executeAction, executionTime, findDataArea, finish, getBlockedTimeout, getHistory, getHistoryType, getId, getName, getParent, getResultInteger, getResultObject, getResultString, getRtbEnabled, getStatTree, getStopRequested, getSubsystem, getTimeoutDuration, getTimeoutScheme, getVirtualUserName, getWorkerThread, hasFinished, hasStarted, isRunning, reset, setBlockedTimeout, setDispatchingAction, setHistory, setHistoryType, setId, setResultInteger, setResultObject, setResultString, setResultString, setRtbEnabled, setStatTree, start, status, stop, stop, stopAction
      • Methods inherited from interface com.ibm.rational.test.lt.kernel.ICountable

        addCounter, getCounter, getCounters, resetCounters
      • Methods inherited from interface com.ibm.rational.test.lt.kernel.logging.IKLog

        getHistoryLevel, getHistoryLevel, getLogLevel, getStatisticsLevel, getVirtualUserGUID, log, log, log, log, reportEvent, reportEvent, reportEvent, reportMessage, reportMessage, reportMessage, reportVerdict, reportVerdict, reportVerdict, reportVerdict, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, wouldARM, wouldLog, wouldReportHistory, wouldReportHistory, wouldReportStatistics
      • Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IKSemaphore

        acquire, availablePermits, getQueue, getQueueLength, reducePermits, release, release, toString, tryAcquire, tryAcquire
      • Methods inherited from interface com.ibm.rational.test.lt.kernel.services.ITestExecutionServices

        getARM, getLoopControl, getPDLogManager, getStatisticsManager, getTestLogManager, getTime, getTransaction, getValue, setValue
    • Method Detail

      • handleException

        void handleException(Throwable t)
        Must be called from the Custom Receive Policy code when an exception is catched.
        This terminates the current action and the Test goes on with the next action.
        The action will be marked as failed in the Test Log viewer.
        Parameters:
        t - the Throwable (or Exception) to log into Test Log
      • receiveSuccess

        void receiveSuccess()
        Must be called from the Custom Receive Policy code when it has received enough bytes, verifying some custom condition.
        This terminates the current action and the Test goes on with the next action.
        The action will be marked as successful in the Test Log viewer.
      • getConnectionHolder

        ISckConnectionHolder getConnectionHolder()
        Returns:
        the underlying connection holder instance
IBM Rational Performance Tester Socket SDK

© Copyright IBM Corp. 2013. All rights reserved.