NAME
POE::Component::MessageQueue::IDGenerator - Abstract base class for id generators.
DESCRIPTION
This can't be used directly, but just defines the interface for ID generators.
METHODS
- new
-
Returns a new instance of the ID generator. You should do any seeding, reading from persistence, or whatnot here.
- generate => SCALAR
-
Returns some kind of unique string. The parameter is an an otherwise filled-out Message object, to be used potentially as seed/unique data for the ID generation.
SEE ALSO
POE::Component::MessageQueue::Message::ID
AUTHOR
Paul Driver <frodwith@gmail.com>