Tibco::Rv::Event - Base class for Tibco events
use base qw/ Tibco::Rv::Event /; sub new { # ... my ( $self ) = $proto->SUPER::new( queue => $queue, callback => $callback ); # ... }
Base class for Tibco Events -- Listeners, Timers, and IO events. Don't use this directly.
%args: queue => $queue, callback => sub { ... }
Creates a Tibco::Rv::Event, or more specifically, one of the Event subclasses -- Listener, Timer, or IO, with queue $queue (defaults to $Tibco::Rv::Queue::DEFAULT if not specified), and the given callback (defaults to sub { } if not specified).
Tibco::Rv::Event
Returns the queue on which events will be dispatched.
Returns the callback code reference.
Trigger an event directly. Subclasses determine which version will be called. Listener objects use the version with a $msg parameter, Timer and IO objects use the version with no paramters.
$msg
Cancels interest in this event. Called automatically when $event goes out of scope. Calling DESTROY more than once has no effect.
$event
Paul Sturm <sturm@branewave.com>
To install Tibco::Rv, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tibco::Rv
CPAN shell
perl -MCPAN -e shell install Tibco::Rv
For more information on module installation, please visit the detailed CPAN module installation guide.