NAME
POE::Event::Message::UniqueID - Generic messaging header identifier
VERSION
This document describes version 0.02, released November, 2005.
SYNOPSIS
use POE::Event::Message::UniqueID;
$ident = POE::Event::Message::Header->generate();
POE::Event::Message::Header->verifyGenerateUniqueID();
DESCRIPTION
This class is used to generate a guaranteed unique identifier.
Warning: If the Time::HiRes module is not installed on the local machine the possibility of duplicate identifiers does exist.
Constructor
None.
Methods
- generate ( )
-
Generate a unique identifier.
- verifyGenerateUniqueID ( )
-
This method can be used to verify that unique identifiers are generated without any duplicates.
DEPENDENCIES
This class depends upon the following classes:
Time::HiRes
INHERITANCE
None currently.
SEE ALSO
See Time::HiRes.
AUTHOR
Chris Cobb [no dot spam at ccobb dot net]
COPYRIGHT
Copyright (c) 2005-2010 by Chris Cobb, All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.