NAME

POE::Component::LaDBI:Engine - Core DBI request servicing class.

SYNOPSIS

use POE::Component::LaDBI::Engine;
use POE::Component::LaDBI::Request;
use POE::Component::LaDBI::Response;

$eng = POE::Component::LaDBI::Engine->new();

$resp = $eng->request( $req );

DESCRIPTION

This module is meant a an abstraction layer to the DBI API.

POE::Component::LaDBI::Engine-new()>

Instantiates a POE::Component::LaDBI::Engine object.

This function takes no arguments.

It must be called as a method POE::Component::LaDBI::Engine->new().

The instatiated object maintains a cache of all DBI database and statement handle objects which are currently active.

Each POE::Component::LaDBI::Engine object is responsible for allocating database and statement handle ids. These IDs are cookies that represent DBI database and statement handle objects it has in the it's cache. '

$eng->request()

This function take only one arguemnt. It is a POE::Component::LaDBI::Request object. For most requests, the POE::Component::LaDBI::Request requires a valid handle id.

This funtion dispatches the command represented by the arguemnt.

The return value is always a POE::Component::LaDBI::Response object. For most responses, the returned POE::Component::LaDBI::Response object contains a valid handle id.

EXPORT

None by default.

AUTHOR

Sean Egan, <seanegan@bigfoot.com>

SEE ALSO

perl, DBI, POE::Component::LaDBI::Request, POE::Component::LaDBI::Response.