Linux SoftwareProgrammingLibrariesPOE::Kernel 0.3502

POE::Kernel 0.3502


POE::Kernel is an event driven threaded application kernel in Perl. SYNOPSIS POE comes with its own event loop, which is based
Developer:   Rocco Caputo
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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 kernel's 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 POE's event queue
# and returns the handler's 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 );

Requirements:
  • Perl
    tags @event args  use poe  poe kernel  args post  event @event  epoch time  time @event  event epoch  kernel alarm  leaving existing  name kernel  the same  kernel delay  

    Download POE::Kernel 0.3502


     http://mirrors.evolva.ro/CPAN/authors/id/R/RC/RCAPUTO/POE-0.3502.tar.gz


    Authors software

    Perl Object Environment 0.33 (by Rocco Caputo)
    POE (Perl Object Environment) parcels out execution time among one or more tasks, called sessions

    Pastebot 0.50 (by Rocco Caputo)
    Pastebot is an irc bot that saves channels from large amounts of pasted material

    POE::Loop 0.3502 (by Rocco Caputo)
    POE::Loop is a documentation for POE's event loop bridge interface.

    SYNOPSIS

    $kernel->loop_initialize();
    $kernel->loop_fin

    POE::Kernel 0.3502 (by Rocco Caputo)
    POE::Kernel is an event driven threaded application kernel in Perl.

    SYNOPSIS

    POE comes with its own event loop, which is based

    POE::Loop::Event 0.3502 (by Rocco Caputo)
    POE::Loop::Event is a bridge that supports Gtk's event loop from POE.

    SYNOPSIS

    See POE::Loop.

    This class is an implementatio


    Similar software

    POE::Kernel 0.3502 (by Rocco Caputo)
    POE::Kernel is an event driven threaded application kernel in Perl.

    SYNOPSIS

    POE comes with its own event loop, which is based

    POE::Loop 0.3502 (by Rocco Caputo)
    POE::Loop is a documentation for POE's event loop bridge interface.

    SYNOPSIS

    $kernel->loop_initialize();
    $kernel->loop_fin

    AnyEvent 2.0 (by Marc A. Lehmann)
    AnyEvent provides an identical interface to multiple event loops

    POE::Loop::Event 0.3502 (by Rocco Caputo)
    POE::Loop::Event is a bridge that supports Gtk's event loop from POE.

    SYNOPSIS

    See POE::Loop.

    This class is an implementatio

    POE::Component::IRC 4.93 (by Dennis Taylor)
    POE::Component::IRC is a fully event-driven IRC client module.

    SYNOPSIS

    # A simple Rot13 'encryption' bot

    use strict;

    libevent 1.2a (by Niels Provos)
    libevent library provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a tim

    Event 1.06 (by Joshua N. Pritikin)
    Event is an Event loop processing.

    SYNOPSIS

    use Event qw(loop unloop);

    # initialize application
    Event->flavor(attribute

    ACPID 1.0.4 (by Tim Hockin)
    ACPID used to try to handle events internally

    Syslog2 1.0.4 (by Alex S. Yemelyanov)
    Syslog2 is an syslogd's realtime parser and event handler

    Snare 0.9.8 (by Leigh Purdie)
    SNARE (System iNtrusion Analysis and Reporting Environment) is a kernel patch, daemon, and Gnome2 GUI, that together provide a host i


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags