com.jscape.inet.terminal.commands

## Interface ControlCommand

- All Known Implementing Classes:
    AMCommand, ANSICommand, BSCommand, CANCommand, CPRCommand, CRCommand, CUBCommand, CUDCommand, CUFCommand, CUHCommand, CUPCommand, CUUCommand, DACommand, DECIDCommand, DECSTBMCommand, DECTSTCommand, DSRCommand, EDCommand, EELCommand, EESCommand, ELCommand, ESCCommand, GMCommand, HTCommand, HTSCommand, INDCommand, LFCommand, NELCommand, NullCommand, RICommand, RMCommand, SCSG00Command, SCSG0BCommand, SCSG10Command, SCSG1BCommand, SGRCommand, SICommand, SMCommand, SOCommand, TBCCommand

      public interface ControlCommand

  Base interface for control commands. "Command" pattern [Gamma94].

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(int[] params, Terminal terminal)` Executes command giving parameters and `Terminal` object.
    `void` | `send(int[] params, Terminal terminal)` Sends command to remote host.

- - ### Method Detail

    - #### execute

          void execute(int[] params,
                       Terminal terminal)

      Executes command giving parameters and `Terminal` object.
      Parameters:
        `params` - array of `int` command parametrs.
        `terminal` - target `Terminal` object.

    - #### send

          void send(int[] params,
                    Terminal terminal)

      Sends command to remote host.
      Parameters:
        `params` - command parameters.
        `terminal` - target `Terminal` object to send command.

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved