Module alcove_drv

Behaviours: gen_server.

Data Types

ref()

ref() = pid()

Function Index

call/5
code_change/3
event/3
getopts/1
handle_call/3
handle_cast/2
handle_info/2
init/1
port/1
progname/0
raw/1
start/0
start/1
start/2
start_link/0
start_link/1
start_link/2
stderr/3
stdin/3
stdout/3
stop/1
terminate/2

Function Details

call/5

call(Drv::ref(), Pids::[alcove:pid_t()], Command::atom(), Argv::list(), Timeout::timeout()) -> term()

code_change/3

code_change(OldVsn, State, Extra) -> any()

event/3

event(Drv::ref(), Pids::[alcove:pid_t()], Timeout::timeout()) -> term()

getopts/1

getopts(Options0::proplists:proplist()) -> [string() | [string()]]

handle_call/3

handle_call(X1, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

port/1

port(Drv::ref()) -> port()

progname/0

progname() -> string()

raw/1

raw(Drv::ref()) -> ok

start/0

start() -> ignore | {error, term()} | {ok, pid()}

start/1

start(Options::proplists:proplist()) -> ignore | {error, term()} | {ok, pid()}

start/2

start(Owner::pid(), Options::proplists:proplist()) -> ignore | {error, term()} | {ok, pid()}

start_link/0

start_link() -> ignore | {error, term()} | {ok, pid()}

start_link/1

start_link(Options::proplists:proplist()) -> ignore | {error, term()} | {ok, pid()}

start_link/2

start_link(Owner::pid(), Options::proplists:proplist()) -> ignore | {error, term()} | {ok, pid()}

stderr/3

stderr(Drv::ref(), Pids::[alcove:pid_t()], Timeout::timeout()) -> false | binary() | {alcove_error, any()} | {alcove_pipe, integer()}

stdin/3

stdin(Drv::ref(), Pids::[alcove:pid_t()], Data::iodata()) -> ok | {alcove_error, badarg}

stdout/3

stdout(Drv::ref(), Pids::[alcove:pid_t()], Timeout::timeout()) -> false | binary() | {alcove_error, any()} | {alcove_pipe, integer()}

stop/1

stop(Drv::ref()) -> ok

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc