=pod

=head1 NAME

URI::fasp - URI handler for Aspera's FASP protocol

=head1 SYNOPSIS

   $fasp = URI->new('fasp://example.com:97001?port=33001&bwcap=25000');
   print $fasp->port;			# 97001
   print $fasp->fasp_port;		# 33001
   print $fasp->query_param('bwcap')	# 25000

   # ...

   $ssh = $fasp->as_ssh;		# URI::ssh 
   print $ssh->port;			# 97001	

=head1 DESCRIPTION

Aspera uses seperate control and a data connections. The control connection is a SSH session. 

This class is a subclass of L<< C<URI::ssh>|URI >> and uses the L<< C<URI::QueryParam> >> mixin. 

=head1 METHODS

=head2 C<as_ssh>

Return a L<< C<URI::ssh>|URI >> representation of the instance's control connection

=head2 C<port>

The port used by the control connection, defaults to C<22>

=head2 C<fasp_port>

The port used by the data connection, defaults to L<< C<default_fasp_port>|/default_fasp_port >>

=head2 C<default_fasp_port>

The default port used by the data connection, C<33001>

=head1 SEE ALSO

L<URI>, L<URI::QueryParam>, http://asperasoft.com

=head1 AUTHOR

Skye Shaw (sshaw AT lucas.cis.temple.edu)

=head1 LICENSE

Copyright (c) 2011 Skye Shaw. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.