Secure iNet Factory

com.jscape.inet.terminal.commands
Class INDCommand

java.lang.Object
  extended by com.jscape.inet.terminal.commands.INDCommand
All Implemented Interfaces:
ControlCommand

public class INDCommand
extends java.lang.Object
implements ControlCommand

IND -- Index. This sequence causes the active position to move downward one line without changing the column position. If the active position is at the bottom margin, a scroll up is performed.


Field Summary
static java.lang.String CANONICAL_FORM
           
 
Method Summary
 void execute(int[] params, Terminal terminal)
          Executes command giving parameters and Terminal object.
static INDCommand getInstance()
          Returns one and only one instance of this type.
 void send(int[] params, Terminal terminal)
          Sends command to remote host.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANONICAL_FORM

public static final java.lang.String CANONICAL_FORM
See Also:
Constant Field Values
Method Detail

getInstance

public static INDCommand getInstance()
Returns one and only one instance of this type.

Returns:
one and only one instance of this type.

execute

public void execute(int[] params,
                    Terminal terminal)
Executes command giving parameters and Terminal object.

Specified by:
execute in interface ControlCommand
Parameters:
params - array of int command parametrs.
terminal - target Terminal object.

send

public void send(int[] params,
                 Terminal terminal)
Sends command to remote host.

Specified by:
send in interface ControlCommand
Parameters:
params - command parameters.
terminal - target Terminal object to send command.

Secure iNet Factory

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