Package org.rexxla.bsf.engines.rexx
Class AbstractDirectCommandHandler
java.lang.Object
org.rexxla.bsf.engines.rexx.AbstractDirectCommandHandler
- All Implemented Interfaces:
RexxCommandHandler,RexxHandler
Make it easy for Rexx programs to implement direct command handlers in Rexx. :)
- Since:
- 850 (2022-08-23)
-
Field Summary
Fields inherited from interface org.rexxla.bsf.engines.rexx.RexxCommandHandler
version -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rexxla.bsf.engines.rexx.RexxCommandHandler
isRedirectable, toStringMethods inherited from interface org.rexxla.bsf.engines.rexx.RexxHandler
checkCondition, clearCondition, dropContextVariable, getAllContextVariables, getCallerContext, getConditionInfo, getContextVariable, getGlobalEnvironment, getInterpreterVersion, getLanguageLevel, getLocalEnvironment, getNil, haltThread, newArray, newDirectory, newStem, newStringTable, raiseCondition, raiseException, raiseException0, raiseException1, raiseException2, setContextVariable, setContextVariableToNil, setThreadTrace
-
Constructor Details
-
AbstractDirectCommandHandler
public AbstractDirectCommandHandler()
-
-
Method Details
-
main
-
handleCommand
Description copied from interface:RexxCommandHandlerCommand handler signature (called via native code) according to the ooRexx API documentation inrexxpg.pdf.- Specified by:
handleCommandin interfaceRexxCommandHandler- Parameters:
slot- this is an opaqueObjectargument which must be supplied unchanged to the direct Rexx API methods inRexxHandleraddress- a String denoting the name of the command environment for which this method got invokedcommand- 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)
-