The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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, <nospamplease@ccobb.net>

COPYRIGHT

Copyright (c) 2005 by Hewlett-Packard. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.