public interface ICallableProgramGiving extends ICallableProgram
Example Java:
public class myprogram implements ICallableProgram {
public void call();
public void call(parameterList param);
public void cancel();
public String redirectCall();
...
}
Example COBOL:
CALL "myprogram".
CALL "myprogram" USING VALUE-1 VALUE-2 ... VALUE-N.
CANCEL "myprogram".
Note that all COBOL programs compiled with PERCobol already implement the ICallableProgram interface.
parameterList| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
callGiving()
This is the entry point for the class when CALL'd with no parameters.
|
java.lang.Object |
callGiving(com.heirloomcomputing.ecs.exec.parameterList param)
This is the entry point for the class when CALL'd with parameters.
|
call, call, cancel, redirectCalljava.lang.Object callGiving()
throws java.lang.Throwable
java.lang.Throwablejava.lang.Object callGiving(com.heirloomcomputing.ecs.exec.parameterList param)
throws java.lang.Throwable
java.lang.ThrowableparameterList