3.0 Thread Session Functions

The Thread Session Context functions are available on the Linux platform. Using these functions you can migrate Netware applications that use XPlat libraries to Linux platform.

An application can manage user identities and connections using these functions.

Using these functions an application can create new XTier session contexts and assigns them to various threads. Connections and user identities are associated with a session context. Using a uinque session context, a thread can create its own private connections and identities. You can also share session contexts with threads. A thread uses the default session context if it is not assigned to a session context handle.

XPlat uses NetWare Requester API to perform the basic functions like creating connections, authenticate users etc. By default, XPlat uses Novell Client’s Requester interface. If Novell Client is not installed, XPlat uses XTier’s requester interface module.The client shares the connections and identities between the user processes. Even if Novell Client is installed, you can force an application to use XTier by setting an environment variable to “XPLAT_USE_XTIER”.

NOTE:For the thread session functions to work, XTier’s requester interface must be available.

The following thread session context functions are available only on Linux:

If XTier interface is not availble, the functions returns NWE_REQUESTER_FAILURE. Also the XPlat initialization functions like NWCallsInit(), NWCLXInit, NWNetInit fails to succeed if the XTier interface is not available.