Protogate Freeway 3600 Guía de usuario Pagina 52

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 270
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 51
52 DC 900-1340I
BSC Programmers Guide
3.3 Overview of DLI Functions for BSC 3270
This section summarizes the DLI functions used in writing a client application. An
overview of using the DLI functions is:
Start up communications (dlInit, dlOpen, dlBufAlloc)
Send requests and data using dlWrite
Receive responses using dlRead
For blocking I/O, use dlSyncSelect to query read availability status for multiple
sessions
For non-blocking I/O, handle I/O completions at the software interrupt level in
the completion handler established by the
dlInit or dlOpen function, or by periodic
use of
dlPoll to query the I/O completion status
Monitor errors using dlpErrString
If necessary, reset and download the protocol software to the ICP using dlControl
Shut down communications (dlBufFree, dlClose, dlTerm)
Ta ble 3 –3 summarizes the DLI function syntax and parameters, listed in the most likely
calling order. Refer to the Freeway Data Link Interface Reference Guide for details.
Caution
When using non-blocking I/O, there must always be at least one
dlRead request queued to avoid loss of data or responses from the
ICP.
Vista de pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 269 270

Comentarios a estos manuales

Sin comentarios