20120618, rgf

org.rexxla.bsf.engines.rexx
Interface RexxCommandHandler


public interface RexxCommandHandler

Interface class for Rexx command handlers. Cf. ooRexx' rexxpg.pdf documentation.

------------------------ Apache Version 2.0 license -------------------------
    Copyright (C) 2012 Rony G. Flatscher

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 ----------------------------------------------------------------------------- 

Since:
2012-02-17
Version:
1.0
Author:
Rony G. Flatscher

Field Summary
static java.lang.String version
          Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.
 
Method Summary
 java.lang.Object handleCommand(java.lang.Object slot, java.lang.String address, java.lang.String command)
          Command handler signature (called via native code) according to the ooRexx API documentation in rexxpg.pdf.
 

Field Detail

version

static final java.lang.String version
Version string indicating version of this class (majorVersion*100+minorVersion concatenated with a dot and the sorted date of last change.

See Also:
Constant Field Values
Method Detail

handleCommand

java.lang.Object handleCommand(java.lang.Object slot,
                               java.lang.String address,
                               java.lang.String command)
Command handler signature (called via native code) according to the ooRexx API documentation in rexxpg.pdf.

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)

20120618, rgf