NAME

Rui::Session::Base - a basic session-aware Rui server


SYNOPSIS

This is an abstract class, subclasses should implement the run method.


DESCRIPTION

This is a common Rui server implementation, that all real servers should inherit from. The communication method with clients is left to the subclasses.

It handles client requests through a specific Rui::Remote::Session. Sessions are managed through a Rui::Remote::SessionManager.


METHODS

new

description
Create a new server.

parameters
Hash of named parameters. Keys/values defined here:

LogFile - Scalar. Path to log file. Set to ``-'' for dumping log to stdout.

PidFile - Scalar. Path to pid file.