Server threads processing. From the dispatcher thread XATMI call handle can be captured and delivered to worker thread. The handle must be freed by tpsrvfreectxdata().
◆ tpcontinue()
native void org.endurox.AtmiCtx.tpcontinue |
( |
| ) |
|
Continue the server work after extracting the context data
◆ tpsrvfreectxdata()
native void org.endurox.AtmiCtx.tpsrvfreectxdata |
( |
long |
dataptr | ) |
|
Free Server context data
- Parameters
-
◆ tpsrvgetctxdata()
native long org.endurox.AtmiCtx.tpsrvgetctxdata |
( |
| ) |
|
Get server context data for multi threaded server See tpsrvgetctxdata(3) manpage for more information.
- Exceptions
-
AtmiTPEPROTOException | Global transaction was started and it was marked for abort-only, there was any open call descriptors with-in global transaction, |
AtmiTPERMERRException | Global transaction was started and it was marked for abort-only, there was any open call descriptors with-in global transaction |
AtmiTPESYSTEMException | System failure occurred during serving. See logs i.e. user log, or debugs for more info. This could also be a problem with dynamical driver loading. |
AtmiTPEOSException | System failure occurred during serving. See logs i.e. user log, or debugs for more info. |
- Returns
- C pointer to allocated server context data
◆ tpsrvsetctxdata()
native void org.endurox.AtmiCtx.tpsrvsetctxdata |
( |
long |
dataptr, |
|
|
long |
flags |
|
) |
| |
Associate current thread with server call data. See tpsrvsetctxdata(3) manpage for more information.
- Parameters
-