Yichun Zhang (章亦春)

NAME

SM::Client - Client entity in the supermarket

SYNOPSIS

    use SM::Client;
    my $client = SM::Client->new;

DESCRIPTION

This class implements the client entity in the supermarket problem space. Every client has an ID which is guaranteed to be unique in the whole application.

METHODS

$obj->new()

Client instance constructor.

$id = $obj->id()

Read the client's ID.

AUTHOR

Agent Zhang <agentzh@gmail.com>

COPYRIGHT

Copyright 2006 by Agent Zhang. All rights reserved.

This library is free software; you can modify and/or modify it under the same terms as Perl itself.

SEE ALSO

SM, SM::Server, SM::Simulator.