?FILE 当前文件名
?MODULE 当前module名
?LINE 当前行数
gen_server exports and callbacks
gen_fsm exports and callbacks
gen_event exports and callbacks
supervisor exports and callbacks
?MODULE 当前module名
?LINE 当前行数
gen_server exports and callbacks
gen_server module callback module
gen_server:start_link -------> Module:init/1
gen_server:start
gen_server:call -------------> Module:handle_call/3
gen_server:multi_call
gen_server:cast -------------> Module:handle_cast/2
gen_server:abcast
gen_server:replay
gen_server:enter_loop
Module:handle_info/2
Module:terminate/2
Module:code_change/3
gen_fsm exports and callbacks
gen_fsm module Callback module
gen_fsm:start_link -------------------> Module:init/1
gen_fsm:start
gen_fsm:send_event -------------------> Module:StateName/2
gen_fsm:send_all_state_event ---------> Module:handle_event/3
gen_fsm:sync_send_event --------------> Module:StateName/3
gen_fsm:sync_send_all_state_event ----> Module:handle_sync_event/4
gen_fsm:reply
gen_fsm:send_event_after
gen_fsm:start_timer
gen_fsm:cancel_timer
gen_fsm:enter_loop
Module:handle_info/3
Module:terminate/3
Module:code_change/4
gen_event exports and callbacks
gen_event module Callback module
gen_event:start_link
gen_event:start
gen_event:add_handler ----------------------> Module:init/1
gen_event:add_suphandler
gen_event:notify ---------------------------> Module:handle_event/2
gen_event:sync_notify
gen_event:call -----------------------------> Module:handle_call/2
gen_event:delete_handler -------------------> Module:terminate/2
gen_event:swap_handler ---------------------> Module1:terminate/2 Module2:init/1
gen_event:swap_sup_handler
gen_event:which_handlers
gen_event:stop -----------------------------> Module:terminate/2
Module:handle_info/2
Module:code_change/3
supervisor exports and callbacks
supervisor module Callback module
supervisor:start_link Module:init/1
supervisor:start_child
supervisor:terminate_child
supervisor:delete_child
supervisor:restart_child
supervisor:which_children
supervisor:check_childspecs