Messaging::Message::Queue::ZERO - abstraction of a message queue returning empty messages
use Messaging::Message; use Messaging::Message::Queue::ZERO; # create a message queue $mq = Messaging::Message::Queue::ZERO->new(); # get a message to the queue $msg = $mq->get_message("");
This module provides an abstraction of a message queue working a bit like /dev/zero: it cannot be written to and, when read, it generates an infinite sequence of empty messages.
/dev/zero
In addition to the standard Directory::Queue methods, the following methods are available:
return a new Messaging::Message::Queue::ZERO object (class method)
add the given message (a Messaging::Message object) to the queue, this generates an error
get the message from the given element, this returns an empty message
Directory::Queue, Messaging::Message, Messaging::Message::Queue.
Lionel Cons http://cern.ch/lionel.cons
Copyright (C) CERN 2011-2016
To install Messaging::Message, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Messaging::Message
CPAN shell
perl -MCPAN -e shell install Messaging::Message
For more information on module installation, please visit the detailed CPAN module installation guide.