Class AbstractRedirectingCommandHandler

java.lang.Object
org.rexxla.bsf.engines.rexx.AbstractRedirectingCommandHandler
All Implemented Interfaces:
RexxCommandHandler, RexxHandler, RexxRedirectingCommandHandler

public abstract class AbstractRedirectingCommandHandler extends Object implements RexxRedirectingCommandHandler
Make it easy for Rexx programs to implement redirecting command handlers in Rexx. :)
Since:
850 (2022-08-23)
  • Constructor Details

    • AbstractRedirectingCommandHandler

      public AbstractRedirectingCommandHandler()
  • Method Details

    • main

      public static void main(String[] args)
    • handleCommand

      public abstract Object handleCommand(Object slot, String address, String command)
      Description copied from interface: RexxCommandHandler
      Command handler signature (called via native code) according to the ooRexx API documentation in rexxpg.pdf.
      Specified by:
      handleCommand in interface RexxCommandHandler
      Parameters:
      slot - this is an opaque Object argument which must be supplied unchanged to the direct Rexx API methods in RexxHandler
      address - a String denoting the name of the command environment for which this method got invoked
      command - a String containing the command passed from Rexx
      Returns:
      any value, which can be retrieved on the Rexx side via the variable RC (result code)