Module crary_app

.

Copyright © 2007 Scott R Parish ----------------------------------------------------------------,

Behaviours: application.

Authors: Scott R Parish (srp@srparish.net).

Description

Function Index

start/2 This function is called whenever an application is started using application:start/1,2, and should start the processes of the application.
stop/1 This function is called whenever an application has stopped.

Function Details

start/2

start(Type, StartArgs) -> {ok, Pid} | {ok, Pid, State} | {error, Reason}

This function is called whenever an application is started using application:start/1,2, and should start the processes of the application. If the application is structured according to the OTP design principles as a supervision tree, this means starting the top supervisor of the tree.

stop/1

stop(State) -> void()

This function is called whenever an application has stopped. It is intended to be the opposite of Module:start/2 and should do any necessary cleaning up. The return value is ignored.


Generated by EDoc, Mar 14 2008, 22:35:53.