NAME

Yote::WebAppServer - This is the app server engine that provides server threads and all javascript perl IO.

SYNOPSIS

use Yote::WebAppServer;

my $server = new Yote::WebAppServer();

$server->start_server();

DESCRIPTION

This starts an appslication server running on a specified port and hooked up to a specified datastore. Additional parameters are passed to the datastore.

PUBLIC METHODS

accesslog( msg )

Write the message to the access log

errlog( msg )

Write the message to the error log

iolog( msg )

Writes to an IO log for client server communications

lock_object( obj_id )

Locks the given object id for use by this process only until it is unlocked.

new

Returns a new WebAppServer.

shutdown( )

Shuts down the yote server, saving all unsaved items.

start_server( )

Starts the yote server and launches server threads and activates cron.

unlock_objects( @list_of_obj_ids )

Unlocks the objects referenced by the ids passed in.

AUTHOR

Eric Wolf coyocanid@gmail.com http://madyote.com

LICENSE AND COPYRIGHT

Copyright (C) 2011 Eric Wolf

This module is free software; it can be used under the same terms as perl itself.