AnyEvent::Finger::Transaction - Simple asynchronous finger transaction
version 0.14
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).
All attributes for this class are read-only.
my $request = $tx->req;
Returns the request object associated with the transaction (an instance of AnyEvent::Finger::Request).
my $response = $tx->res;
Returns the response object associated with the transaction (an instance of AnyEvent::Finger::Response).
my $port = $tx->remote_port;
Returns the remote TCP port being used to make the request.
my $port = $tx->local_port;
Returns the local TCP port being used to make the request.
my $address = $tx->remote_address;
Returns the IP address from whence the finger request is coming from.
AnyEvent::Finger
AnyEvent::Finger::Client
AnyEvent::Finger::Server
Graham Ollis <plicease@cpan.org>
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.
To install AnyEvent::Finger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::Finger
CPAN shell
perl -MCPAN -e shell install AnyEvent::Finger
For more information on module installation, please visit the detailed CPAN module installation guide.