![]() |
![]()
| ![]() |
![]()
NAMEPOE::Component::PubSub::Types - Exported Types for use within POE::Component::PubSub VERSIONversion 0.091370 DESCRIPTIONThis modules exports the needed subtypes, coercions, and constants for PubSub and is based on Sub::Exporter, so see that module for options on importing. CONSTANTSPUBLISH_OUTPUTThis indicates the Event is an output event PUBLISH_INPUTThis indicates the Event is an input event TYPESPublishTypeThe publish type constraint applied to Events. Can either be PUBLISH_INPUT or PUBLISH_OUTPUT SubscriberWhen manipulating subscribers in an Event, except to receive a well formed hash with the keys 'session' and 'event' corresponding to the subscribers SessionID and their event handler, respectively SessionIDSession IDs in POE are represented as positive integers and this Type constrains as such SessionAliasSession aliases are strings in and this is simply an alias for Str SessionRefThis sets an isa constraint on POE::Session DoesSessionInstantiationThis sets a constraint for an object that does POEx::Role::SessionInstantiation COERCIONSYou can coerce SessionAlias, SessionRef, and DoesSessionInstantiation to a SessionID (via to_SessionID) AUTHORNicholas Perez <nperez@cpan.org> COPYRIGHT AND LICENSEThis software is Copyright (c) 2009 by Nicholas Perez. This is free software, licensed under: The GNU General Public License, Version 3, June 2007
|