DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(VTCL) commands by type

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).

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005