main/1
.
Copyright © 2015-2018 Jörgen Brandt
Version: 0.1.6
This module defines the effi behaviour.
Required callback functions: bind_singleton_boolean/2, bind_singleton_string/2, bind_boolean_list/2, bind_string_list/2, echo_singleton_boolean/1, echo_singleton_string/1, echo_boolean_list/1, echo_string_list/1, prefix/0, end_of_transmission/0, suffix/0, process_script/1, run_extended_script/2.
Authors: Jörgen Brandt (joergen.brandt@onlinehome.de).
main/1
.
The create_port callback defined here is an abstract way to execute child
processes in foreign languages.
There are two foreign language interfaces, both implementing this callback,
effi_script
(e.g., Perl, Python) and effi_interact
(e.g.,
Bash, R).
create_port/2 | |
get_type_info/2 | |
handle_request/2 | Parses a request input file, processes it, and writes the reply output file. |
listen_port/1 | |
main/1 | Parses command line arguments and processes the request file. |
create_port(Call, Dir) -> port()
get_type_info(ArgName, TypeLst) -> #{atom() => term()}
handle_request(Request, Dir) -> #{atom() => term()}
Parses a request input file, processes it, and writes the reply output file.
listen_port(Port::port()) -> {ok, binary(), [#{atom() => binary()}]} | {error, binary()}
main(ArgList::[string()]) -> ok
Parses command line arguments and processes the request file.
Generated by EDoc