Module treewalker_crawler

Behaviours: gen_statem.

Data Types

config()

config() = treewalker_crawler_config:config()

dispatcher_id()

dispatcher_id() = treewalker_crawler_sup:dispatcher_id()

id()

id() = treewalker_crawler_sup:crawler_id()

Function Index

callback_mode/0
handle_event/4
init/1
start_crawler/1
start_link/3
stop_crawler/1
terminate/3

Function Details

callback_mode/0

callback_mode() -> any()

handle_event/4

handle_event(Event, Message, State, Data) -> any()

init/1

init(X1) -> any()

start_crawler/1

start_crawler(Id::id()) -> ok

start_link/3

start_link(Id::id(), DispatcherId::dispatcher_id(), Config::config()) -> {ok, pid()} | {error, term()}

stop_crawler/1

stop_crawler(Id::id()) -> ok

terminate/3

terminate(Reason, State, Data) -> any()


Generated by EDoc