POE::Kernel 0.3502
Sponsored Links
POE::Kernel 0.3502 Ranking & Summary
File size:
0.032 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1200
Date added:
2006-07-12
Publisher:
Rocco Caputo
POE::Kernel 0.3502 description
POE::Kernel is an event driven threaded application kernel in Perl.
SYNOPSIS
POE comes with its own event loop, which is based on select() and written entirely in Perl. To use it, simply:
use POE;
POE can adapt itself to work with other event loops and I/O multiplex systems. Currently it adapts to Gtk, Tk, Event.pm, or IO::Poll when one of those modules is used before POE::Kernel.
use Gtk; # Or Tk, Event, or IO::Poll;
use POE;
or
use POE qw(Loop::Gtk);
or
use POE::Kernel { loop => "Gtk" };
use POE::Session;
Methods to manage the process global Kernel instance:
# Retrieve the kernels unique identifier.
$kernel_id = $kernel->ID;
# Run the event loop, only returning when it has no more sessions to
# dispatch events to. Supports two forms.
$poe_kernel->run();
POE::Kernel->run();
FIFO event methods:
# Post an event to an arbitrary session.
$kernel->post( $session, $event, @event_args );
# Post an event back to the current session.
$kernel->yield( $event, @event_args );
# Call an event handler synchronously. Bypasses POEs event queue
# and returns the handlers return value.
$handler_result = $kernel->call( $session, $event, @event_args );
Original alarm and delay methods:
# Post an event which will be delivered at a given Unix epoch time.
# This clears previous timed events with the same state name.
$kernel->alarm( $event, $epoch_time, @event_args );
# Post an additional alarm, leaving existing ones in the queue.
$kernel->alarm_add( $event, $epoch_time, @event_args );
# Post an event which will be delivered after a delay, specified in
# seconds hence. This clears previous timed events with the same
# name.
$kernel->delay( $event, $seconds, @event_args );
# Post an additional delay, leaving existing ones in the queue.
$kernel->delay_add( $event, $seconds, @event_args );
SYNOPSIS
POE comes with its own event loop, which is based on select() and written entirely in Perl. To use it, simply:
use POE;
POE can adapt itself to work with other event loops and I/O multiplex systems. Currently it adapts to Gtk, Tk, Event.pm, or IO::Poll when one of those modules is used before POE::Kernel.
use Gtk; # Or Tk, Event, or IO::Poll;
use POE;
or
use POE qw(Loop::Gtk);
or
use POE::Kernel { loop => "Gtk" };
use POE::Session;
Methods to manage the process global Kernel instance:
# Retrieve the kernels unique identifier.
$kernel_id = $kernel->ID;
# Run the event loop, only returning when it has no more sessions to
# dispatch events to. Supports two forms.
$poe_kernel->run();
POE::Kernel->run();
FIFO event methods:
# Post an event to an arbitrary session.
$kernel->post( $session, $event, @event_args );
# Post an event back to the current session.
$kernel->yield( $event, @event_args );
# Call an event handler synchronously. Bypasses POEs event queue
# and returns the handlers return value.
$handler_result = $kernel->call( $session, $event, @event_args );
Original alarm and delay methods:
# Post an event which will be delivered at a given Unix epoch time.
# This clears previous timed events with the same state name.
$kernel->alarm( $event, $epoch_time, @event_args );
# Post an additional alarm, leaving existing ones in the queue.
$kernel->alarm_add( $event, $epoch_time, @event_args );
# Post an event which will be delivered after a delay, specified in
# seconds hence. This clears previous timed events with the same
# name.
$kernel->delay( $event, $seconds, @event_args );
# Post an additional delay, leaving existing ones in the queue.
$kernel->delay_add( $event, $seconds, @event_args );
POE::Kernel 0.3502 Screenshot
POE::Kernel 0.3502 Keywords
POE
Kernel 0.3502
Perl
Event driven
event
Args
post
kernel
delay
threaded
POE::Kernel
POEKernel
POE::Kernel 0.3502
Libraries
Programming
Bookmark POE::Kernel 0.3502
POE::Kernel 0.3502 Copyright
WareSeeker periodically updates pricing and software information of POE::Kernel 0.3502 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of POE::Kernel 0.3502 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
POE::Loop is a documentation for POEs event loop bridge interface. Free Download
POE::Exceptions is a POE class for handling exceptions. Free Download
POE::Loop::Event is a bridge that supports Gtks event loop from POE. Free Download
Poe is a Pugnacious Ogg Editor. Free Download
POE::Stage is a base Perl class for message-driven objects. Free Download
HOP::Lexer is a Perl module for "Higher Order Perl" Lexer. Free Download
Perl/Linux is a Linux distribution where ALL programs are written in perl. Free Download
SPServer project is a server framework library written on C++ that implements the Half-Sync/Half-Async pattern. Free Download
Latest Software
Popular Software
Favourite Software