tpsetunsol(3) tpbroadcast(3) tpchkunsol(3) tpnotify(3) tpdequeue(3) tpdequeueex(3) tpenqueue tpenqueueex tpabort(3) tpbegin(3) tpcommit(3) tpopen(3) tpclose(3) tpsuspend(3) tpresume(3) Group of boolean expression routines
◆ Bboolco()
native BExprTree org.endurox.AtmiCtx.Bboolco |
( |
String |
expr | ) |
|
Compile boolean expression. For more information see Bboolco(3) manpage
- Parameters
-
expr | UBF boolean expression |
- Returns
- Compiled boolean expression handler
- Exceptions
-
UbfBALIGNERRException | Corrupted buffer or pointing to not aligned memory area. |
UbfBNOTFLDException | Buffer not fielded, not correctly allocated or corrupted. |
UbfBBADFLDException | Invalid field id passed. |
UbfBNOTPRESException | Field not present. |
UbfFMALLOCException | Malloc failed. |
UbfBSYNTAXException | Synax error in script. |
UbfBBADNAMEException | Bad field name specified. |
◆ Bboolpr()
native void org.endurox.AtmiCtx.Bboolpr |
( |
BExprTree |
cexpr, |
|
|
OutputStream |
ostream |
|
) |
| |
Print compiled expression to output stream. For more information see Bboolpr(3) manpage
- Parameters
-
cexpr | compiled expression |
ostream | output stream. write(byte[] bytes) is used for printing the output. |
◆ Bboolsetcbf()
void org.endurox.AtmiCtx.Bboolsetcbf |
( |
String |
funcname, |
|
|
Bboolcbf |
callback |
|
) |
| |
Set callback function from the expression, so that this function can be referenced/called from the compiled script/evaluated UBF boolean expression script. This function is not thread safe. meaning that any other thread shall not execute Boolean expressions while the callback are being registered. The function registers the callbacks at the java side into hashmap. and registration is done at C side too. The mapping is done in a singleton as it might be used by different contexts. For more information see Bboolsetcbf(3) manpage.
- Parameters
-
funcname | function name (C style function name) |
callback | interface to callback object |
- Exceptions
-
UbfBBADNAMEException | Invalid function name. See Bboolsetcbf(3) manpage. |