|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.terminal.commands.CPRCommand
public class CPRCommand
CPR -- Cursor Position Report. The CPR sequence reports the active position by means of the parameters. This sequence has two parameter values, the first specifying the line and the second specifying the column. The default condition with no parameters present, or parameters of 0, is equivalent to a cursor at home position. The numbering of lines depends on the state of the Origin Mode (DECOM). This control sequence is solicited by a device status report (DSR) sent from the host.
Field Summary | |
---|---|
static java.lang.String |
CANONICAL_FORM
|
Method Summary | |
---|---|
void |
execute(int[] params,
Terminal terminal)
Executes command giving parameters and Terminal object. |
static CPRCommand |
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 |
---|
public static final java.lang.String CANONICAL_FORM
Method Detail |
---|
public static final CPRCommand getInstance()
public void execute(int[] params, Terminal terminal)
Terminal
object.
execute
in interface ControlCommand
params
- array of int
command parametrs.terminal
- target Terminal
object.public void send(int[] params, Terminal terminal)
send
in interface ControlCommand
params
- command parameters.terminal
- target Terminal
object to send command.
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |