The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Telnet::Gearman::Worker

SYNOPSIS

    use Net::Telnet::Gearman;
    
    my $session = Net::Telnet::Gearman->new(
        Host => '127.0.0.1',
        Port => 4730,
    );
    
    my @workers = $session->workers();
    
    print Dumper @workers
    
    # $VAR1 = bless(
    #     {
    #         'client_id'       => '-',
    #         'file_descriptor' => '1',
    #         'functions'       => [ 'resize_image' ],
    #         'ip_address'      => '127.0.0.1'
    #     },
    #     'Net::Telnet::Gearman::Worker'
    # );

METHODS

file_descriptor

Returns the file descriptor of this worker.

ip_address

Returns the ip address this worker is connected from.

client_id

Returns the client id of this worker.

functions

Returns an arrayref of functions the worker is registered for.

AUTHOR

Johannes Plunien <plu@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2009 by Johannes Plunien

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

SEE ALSO