NAME

AnyEvent::Finger::Transaction - Simple asynchronous finger transaction

VERSION

version 0.14

DESCRIPTION

This class is a container for response and request objects which is used when a finger request comes into AnyEvent::Finger::Server server instance. It also provides information about the connection (the remote, local ports and the remote client's address).

ATTRIBUTES

All attributes for this class are read-only.

req

my $request = $tx->req;

Returns the request object associated with the transaction (an instance of AnyEvent::Finger::Request).

res

my $response = $tx->res;

Returns the response object associated with the transaction (an instance of AnyEvent::Finger::Response).

remote_port

my $port = $tx->remote_port;

Returns the remote TCP port being used to make the request.

local_port

my $port = $tx->local_port;

Returns the local TCP port being used to make the request.

remote_address

my $address = $tx->remote_address;

Returns the IP address from whence the finger request is coming from.

SEE ALSO

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012-2022 by Graham Ollis.

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