Previous Page Contents Page Next Page

1.4 LU0 Functions

An application accesses LU0 through LU0 function calls. The application supplies parameters to a function, which performs the desired operation and returns parameters to the application.

1.4.1 Function Summary

The following list contains a brief summary of each of the LU0 functions (for a detailed explanation of each function, see LU0 Functions):

lu0_init

This function activates a session for an LU0 application, and brings it up to the state where the LU session is ready for use.

lu0_read

This function receives a complete chain of data sent from the host to the LU0 application's LU. It can either wait until data is available, or return immediately if a complete chain of data is not available when it is issued.

lu0_write

This function sends a complete chain of data to the host.

lu0_term

This verb deactivates a session for an LU0 application, and releases the local LU for use by other applications.

1.4.2 Synchronous and Asynchronous Verb Completion

All LU0 functions are dependent on messages sent to or received from the host application, and so they may take some time to complete. Because of this, LU0 provides both a synchronous and an asynchronous version of each function call.

For more information, see Designing and Writing LU0 Applications.

Previous Page Contents Page Top of Page Next page