- SEE ALSO
- COPYRIGHT AND LICENSE
AnyEvent::Finger::Transaction - Simple asynchronous finger transaction
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.
Graham Ollis <email@example.com>
This software is copyright (c) 2012 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.