Manual Reference Pages - JIFTY::EVENT (3)
Jifty::Event - Event objects for publish/subscribe communication
An event object from the Jifty::PubSub stream.
Constructor. Takes any kind of payload and blesses a scalar reference to it
into an Event object.
Inserts the event into the pubsub stream. If Jifty is configured into
synchronous republishing, then this method runs a republish on itself
with all current subscriptions implicitly. If not, its simply inserted
into its main channel for asynchronous republishing later.
Takes multiple class-specific queries, which are evaluated in order by calling match.
Run filter with the queries; if they all succeed, the event is republished
into that query-specific channel.
Encode queries into some sort of canonical MD5 encoding.
Takes a class-specific query and returns whether it matches.
You almost always want to override this; the default implementation
simply always return true;
A list of additional things to push into the %ARGS of the region that
is about to render this event; see Jifty::Subs::Render for more information.
This events payload as a scalar value.
|perl v5.20.3 ||JIFTY::EVENT (3) ||2010-12-08 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.