Module osp_admin

Provides an interface to administer the OSP cluster.

Copyright © 2009 Jacob Torrey <torreyji@clarkson.edu>

Version: 0.4

Authors: Jacob Ian Torrey (torreyji@clarkson.edu).

Description

Provides an interface to administer the OSP cluster

Function Index

cleanup/0A callback for the OSP broker service.
init/0Routine for starting the master boot server and autostarted applications.
nodeapp/0Returns the App-Node listing for the cluster.
proto/0Returns the protocol for the application (this is a TCP applcation).
server/1The main server loop.
shutdown_osp/0Shuts down the entire OSP cluster, and quits the Erlang VM.
start_mnesia/0The mnesia startup routine for osp_admin.
stats_osp/0This returns a string of the OSP cluster statistics.
uptime_osp/0Returns a human readable string of the cluster uptime.

Function Details

cleanup/0

cleanup() -> ok

A callback for the OSP broker service

init/0

init() -> ok

Routine for starting the master boot server and autostarted applications

nodeapp/0

nodeapp() -> list()

Returns the App-Node listing for the cluster

proto/0

proto() -> tcp

Returns the protocol for the application (this is a TCP applcation)

server/1

server(Sock::tuple()) -> none()

The main server loop

shutdown_osp/0

shutdown_osp() -> ok

Shuts down the entire OSP cluster, and quits the Erlang VM

start_mnesia/0

start_mnesia() -> ok

The mnesia startup routine for osp_admin

stats_osp/0

stats_osp() -> list()

This returns a string of the OSP cluster statistics

uptime_osp/0

uptime_osp() -> list()

Returns a human readable string of the cluster uptime


Generated by EDoc, Oct 30 2009, 20:13:45.