1 # $Id: Connect.pm,v 1.1 2006-10-06 11:33:08 mike Exp $
3 # See ZOOM/IRSpy/Task/Search.pm for documentation
5 package ZOOM::IRSpy::Task::Connect;
11 use ZOOM::IRSpy::Task;
12 our @ISA = qw(ZOOM::IRSpy::Task);
17 return $class->SUPER::new(@_);
23 my $conn = $this->conn();
24 $this->irspy()->log("irspy_test", $conn->option("host"),
26 # Actually, connections have already been connected. Redoing this
27 # won't hurt -- in fact, it's a no-op. But because it's a no-op,
28 # it doesn't cause any events, which means that the very next call
29 # of ZOOM::event() will return 0, and IRSpy will fall through the
30 # event loop. Not good. Not sure how to fix this.
31 $conn->connect($conn->option("host"));
36 return ref($this) . " " . $this->conn()->option("host");
39 use overload '""' => \&render;