Interpreter-only commands
Some commands run on the interpreter only -- they set up states
that only the server needs to be concerned with.
The following commands cause no action on the server:
VtAddInput(VTCL)-
Specifies a callback command to call when fileActivity (readable,
writable or error) is possible on FileID.
The callback is called with fileId as an argument.
VtAddTimeOut(VTCL)-
Specifies a callback to call after the specified millisecond interval
(default 0).
VtAddWorkProc(VTCL)-
Specifies a procedure to call whenever the interpreter is
idle. Multiple calls are called one at a time
in round-robin sequence.
VtMainLoop(VTCL)-
Puts the interpreter into a state where it allows
interaction with user input to server
(accepting callbacks to execute).
It completes only when the server connection is closed and
there are no more pending events
(timeouts, workprocs, inputs) or if VtMainLoop -break is executed.
VtRemoveInput(VTCL)-
Removes the inputHandler proc identified by the given ID
(returned from VtAddInput).
VtRemoveTimeOut(VTCL)-
Removes the Timeput proc identified by the given ID
(returned from VtAddTimeout).
VtRemoveWorkProc(VTCL)-
Removes the workproc identified by the given ID (returned from
VtAddWorkProc).
Previous topic:
Other commands
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003