Module riak_api_pb_sup

supervise riak_api_pb_server processes.

Behaviours: supervisor.

Description

supervise riak_api_pb_server processes

Function Index

init/1The init/1 supervisor callback, initializes the supervisor.
service_registered/1Notifies connected client sockets of a new service so they can initialize it.
start_link/0Starts the PB server supervisor.
start_socket/0Starts a PB socket server.
stop/1Stops the PB server supervisor.

Function Details

init/1

init(X1::list()) -> {ok, {{RestartStrategy, MaxR, MaxT}, [ChildSpec]}} | ignore

The init/1 supervisor callback, initializes the supervisor.

service_registered/1

service_registered(Mod::module()) -> ok

Notifies connected client sockets of a new service so they can initialize it. Called internally by riak_api_pb_service:register/3.

start_link/0

start_link() -> {ok, pid()} | {error, term()}

Starts the PB server supervisor.

start_socket/0

start_socket() -> {ok, pid()} | {error, term()}

Starts a PB socket server.

stop/1

stop(S::term()) -> ok

Stops the PB server supervisor.


Generated by EDoc