[Erlang Systems]

gen_fsm

MODULE

MODULE SUMMARY

DESCRIPTION

EXPORTS

start(Module, StartArgs, Options) -> StartRet
start_link(Module, StartArgs, Options) -> StartRet
start(Name, Module, StartArgs, Options) -> StartRet
start_link(Name, Module, StartArgs, Options) -> StartRet

send_event(ProcessRef,Event) -> void()

send_all_state_event(ProcessRef,Event) -> void()

sync_send_event(ProcessRef,Event) -> Reply
sync_send_event(ProcessRef,Event, Timeout) -> Reply

sync_send_all_state_event(ProcessRef,Event) -> Reply
sync_send_all_state_event(ProcessRef,Event,Timeout) -> Reply

reply(To, Reply) -> true

Callback Functions

EXPORTS

Module:init(StartArgs) -> Return

Module:StateName(Event, StateData) -> Return

Module:StateName(Event, From, StateData) -> Return

Module:handle_event(Event, StateName, StateData) -> Return

Module:handle_sync_event(Event, From, StateName, StateData) -> Return

Module:handle_info(Info, StateName, StateData) -> Return

Module:terminate(Reason, StateName, StateData) -> void()

Module:code_change(OldVsn, StateName, StateData, Extra) -> {ok, NewState, NewStateData}

System events

See Also

AUTHORS


stdlib 1.9.1
Copyright © 1991-2000 Ericsson Utvecklings AB