Did you know ... | Search Documentation: |
Title for pldoc(dir_index) |
pengines.pl -- Pengines: Web Logic Programming Made Easy | ||
---|---|---|
add_error_details/3 | Add format error code and location information to an error. | |
authentication_hook/3 | This hook is called from the =/pengine/create= HTTP handler to discover whether the server is accessed by an authorized user. | |
current_pengine_application/1 | True when Application is a currently defined application. | |
event_to_json/3 | Hook that translates a Pengine event structure into a term suitable for reply_json_dict/1, according to the language specification Lang. | |
not_sandboxed/2 | This hook is called to see whether the Pengine must be executed in a protected environment. | |
output/2 | Hook to handle pengine_output/1 from the remote pengine. | |
pengine_abort/1 | Aborts the running query. | |
pengine_application/1 | Directive that must be used to declare a pengine application module. | |
pengine_ask/3 | Asks pengine NameOrID a query Query. | |
pengine_create/1 | Creates a new pengine. | |
pengine_debug/2 | Create a message using format/3 from Format and Args and send this to the client. | |
pengine_destroy/1 | Destroys the pengine NameOrID. | |
pengine_destroy/2 | Destroys the pengine NameOrID. | |
pengine_done/0 | Called from the pengine thread at_exit option. | |
pengine_event/2 | Examines the pengine's event queue and if necessary blocks execution until a term that unifies to Term arrives in the queue. | |
pengine_event_loop/2 | Starts an event loop accepting event terms sent to the current pengine or thread. | |
pengine_input/2 | Sends Prompt to the master (parent) pengine and waits for input. | |
pengine_next/2 | Asks pengine NameOrID for the next solution to a query started by pengine_ask/3. | |
pengine_output/1 | Sends Term to the parent pengine or thread. | |
pengine_property/2 | True when Property is a property of the given Pengine. | |
pengine_pull_response/2 | Pulls a response (an event term) from the slave Pengine if Pengine is a remote process, else does nothing at all. | |
pengine_respond/3 | Sends a response in the form of the term Input to a slave (child) pengine that has prompted its master (parent) for input. | |
pengine_rpc/2 | Semantically equivalent to the sequence below, except that the query is executed in (and in the Prolog context of) the pengine server referred to by URL, rather than locally. | |
pengine_rpc/3 | Semantically equivalent to the sequence below, except that the query is executed in (and in the Prolog context of) the pengine server referred to by URL, rather than locally. | |
pengine_self/1 | True if the current thread is a pengine with Id. | |
pengine_stop/2 | Tells pengine NameOrID to stop looking for more solutions to a query started by pengine_ask/3. | |
pengine_user/1 | True when the pengine was create by an HTTP request that authorized User. | |
portray_blob/2 | Portray non-text blobs that may appear in output terms. | |
prepare_goal/3 | Pre-preparation hook for running Goal0. | |
prepare_module/3 | Hook, called to initialize the temporary private module that provides the working context of a pengine. | |
prompt/3 | Hook to handle pengine_input/2 from the remote pengine. | |
write_result/3 | Hook that allows for different output formats. | |
create_pool/1 | On demand creation of a thread pool for a pengine application. | |
pengines_io.pl -- Provide Prolog I/O for HTML clients | ||
pengines_sandbox.pl -- Declare Pengine interaction sandbox-safe | ||
safe_meta/2 | Declare the pengine meta-predicates as safe. | |
safe_primitive/1 | Declare the core pengine operations as safe. | |
term_to_json.pl | ||
term_to_json/2 | Convert any general Prolog term into a JSON term. | |
term_to_json/3 | Convert any general Prolog term into a JSON term. |