public interface MvsCommandCallback
Implement this interface to control how MVS operator commands are handled.
The implementing class must be registered with a call to
registerMvsCommandCallback
.
The parameters supplied on the MVS START command, if any are also available
via getStartParameters
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleModify
(String modifyCommand) Handle an MVS MODIFY (F) command.void
handleStart
(String startParameters) Handle an MVS START (S) command.boolean
Handle an MVS STOP (P) command.
-
Method Details
-
handleModify
Handle an MVS MODIFY (F) command.- Parameters:
modifyCommand
- the modify command supplied by the operator
-
handleStart
Handle an MVS START (S) command. Note that the START command will have already been issued by the time this callback is registered. Therefore, this method will fire immediately upon registration. This method can be used to obtain the start parameters.- Parameters:
startParameters
- the start parameters supplied by the operator
-
handleStop
boolean handleStop()Handle an MVS STOP (P) command. If the implementation of this method returns true, a System.exit(0) call will be invoked. If false, no System.exit() will be performed.
-