Package com.tailf.dp

Class DpActionTrans

Object
Thread
com.tailf.dp.DpTrans
com.tailf.dp.DpActionTrans
All Implemented Interfaces:
Runnable

public class DpActionTrans extends DpTrans
The action transaction context. Each action transaction is running in separate thread.
See Also:
  • Field Details

  • Method Details

    • getActionState

      public int getActionState()
      Returns the current state of this action transaction. This can be one of:
      Returns:
      action state
    • run

      public void run()
      Runs the thread.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class DpTrans
    • actionSetTimeout

      public void actionSetTimeout(int timeoutSeconds) throws IOException, DpCallbackException
      Some action callbacks may require a significantly longer execution time than others, and this time may not even be possible to determine statically (e.g. a file download). In such cases the /confdConfig/capi/queryTimeout setting in confd.conf may be insufficient, and this function can be used to extend (or shorten) the timeout for the current callback invocation. The timeout is given in seconds from the point in time when the function is called.
      Parameters:
      timeoutSeconds -
      Throws:
      IOException
      DpCallbackException
    • getActionPoint

      public String getActionPoint()
    • getAPIndex

      public int getAPIndex()