Introduction
Server Platform
Application Server
Content Generation
Class Library API
   Runtime System
   WebServer
   Process
   Database
   Page
   Context
   Elements
   Templates
   Menu
   User
   CGI
   Form
   Table
   TreeAdmin
   DirectoryTree
   Application
Manual Index

next | previous

Maxscape::Process Package

Member Functions

  1. acceptRequest
  2. cleanup
  3. execute
  4. getInitState
  5. initialise
  6. new
  7. postProcess

Synopsis

use Maxscape::Process;

Description

The Maxscape::Process package supplies the basic functionality to deal with the server and application processes.

Examples

my $Process = Maxscape::Process->new (ProcessType => 'DAEMON');

if ($Process->initialise()) {
  $Process->execute();
}

new

Synopsis

my $Process = Maxscape::Process->new (ProcessType => 'FCGI');

Description

Creates a new Process object. Values for parameter 'ProcessType' are: 'SCRIPT' || 'FCGI' || 'CGI' || 'DAEMON'

initialise

Synopsis

my $Process = Maxscape::Process->initialise ( %P );

Description

Initialises a process.

execute

Synopsis

my $Process = Maxscape::Process->execute ($Request, $ClientConnection);

Description

Executes the functions of a process. Namely creates the $Page object.

acceptRequest

Synopsis

my ($CGI, $Context, $User) = Maxscape::Process->acceptRequest
                                                  ($Request, $ClientConnection);

Description

Creates the $CGI, $Context and $User objects from a client's request.

getInitState

Synopsis

my $Process = Maxscape::Process->getInitState ($Host, $Port, $MessageText);

Description

Get's the initialisation state.

postProcess

Synopsis

Maxscape::Process->postProcess ();

Description

Executed after page generation, e.g. to log data or to manipulate a generated page.

cleanup

Synopsis

my $Process = Maxscape::Process->cleanup ($Force);

Description

Clean up after all is done.


nextprevioustopbecome a membercontact © Maxscape