Module gen_changes

gen_changes CouchDB continuous changes consumer behavior This behaviour allws you to create easily a server that consume Couchdb continuous changes.

This module defines the gen_changes behaviour.
Required callback functions: init/1, handle_change/2, handle_call/3, handle_cast/2, handle_info/2, terminate/2.

Description

gen_changes CouchDB continuous changes consumer behavior This behaviour allws you to create easily a server that consume Couchdb continuous changes

Function Index

behaviour_info/1
call/2
call/3
cast/2
code_change/3
get_seq/1
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/4create a gen_changes process as part of a supervision tree.
stop/1
terminate/2

Function Details

behaviour_info/1

behaviour_info(X1) -> any()

call/2

call(Name, Request) -> any()

call/3

call(Name, Request, Timeout) -> any()

cast/2

cast(Dest, Request) -> any()

code_change/3

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

get_seq/1

get_seq(Pid) -> any()

handle_call/3

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

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

start_link/4

start_link(Module, Db::db(), Options::changesoptions(), InitArgs::list()) -> term()

create a gen_changes process as part of a supervision tree. The function should be called, directly or indirectly, by the supervisor.

stop/1

stop(Pid) -> any()

terminate/2

terminate(Reason, Gen_changes_state) -> any()


Generated by EDoc, Aug 31 2012, 10:02:31.