Module ocs_server

This gen_server behaviour callback module implements a service access point (SAP) for the public API of the ocs application.

Copyright © 2016 - 2026 SigScale Global Inc.

Behaviours: gen_server.

Description

This gen_server behaviour callback module implements a service access point (SAP) for the public API of the ocs application.

Data Types

state()

state() = #state{sup = pid()}

Function Index

init/1Initialize the ocs_server server.
handle_call/3Handle a request sent using gen_server:call/2,3 or gen_server:multi_call/2,3,4.
handle_cast/2Handle a request sent using gen_server:cast/2 or gen_server:abcast/2,3.
handle_info/2Handle a received message.
terminate/2Cleanup and exit.
code_change/3Update internal state data during a release upgrade/downgrade.

Function Details

init/1

init(Args) -> Result

Initialize the ocs_server server.

See also: //stdlib/gen_server:init/1.

handle_call/3

handle_call(Request, From, State) -> Result

Handle a request sent using gen_server:call/2,3 or gen_server:multi_call/2,3,4.

See also: //stdlib/gen_server:handle_call/3.

handle_cast/2

handle_cast(Request, State) -> Result

Handle a request sent using gen_server:cast/2 or gen_server:abcast/2,3.

See also: //stdlib/gen_server:handle_cast/2.

handle_info/2

handle_info(Info, State) -> Result

Handle a received message.

See also: //stdlib/gen_server:handle_info/2.

terminate/2

terminate(Reason, State) -> any()

Cleanup and exit.

See also: //stdlib/gen_server:terminate/3.

code_change/3

code_change(OldVsn, State, Extra) -> Result

Update internal state data during a release upgrade/downgrade.

See also: //stdlib/gen_server:code_change/3.


Generated by EDoc