Cory G Watson > Osgood-Client > Osgood::EventList

Download:
Osgood-Client-2.0.7.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Osgood::EventList - A list of Osgood events.

DESCRIPTION ^

A list of events.

SYNOPSIS ^

  my $list = Osgood::EventList->new;
  $list->add_to_events($event);
  print $list->size."\n";

METHODS ^

Constructor

new

Creates a new Osgood::EventList object.

add_to_events

Add the specified event to the list.

events

Set/Get the ArrayRef of events in this list.

iterator

Returns a MooseX::Iterator for iterating over events.

size

Returns the number of events in this list.

get_highest_id

Retrieves the largest id from the list of events. This is useful for keeping state with an external process that needs to 'remember' the last event id it handled.

AUTHOR ^

Cory 'G' Watson <gphat@cpan.org>

SEE ALSO ^

perl(1), Osgood::Event

COPYRIGHT AND LICENSE ^

Copyright 2008-2009 by Magazines.com, LLC

You can redistribute and/or modify this code under the same terms as Perl itself.

syntax highlighting: