line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Echo::StreamServer::Client; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
24705
|
use 5.008008; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
41
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
46
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
552
|
use Echo::StreamServer::Account; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
131
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
1
|
|
|
1
|
0
|
771
|
my ($package, $account) = @_; |
13
|
1
|
|
|
|
|
2
|
my %hash; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# Choose the $account parameter, or the default account in Settings. |
16
|
|
|
|
|
|
|
my $acct; |
17
|
1
|
50
|
|
|
|
8
|
if ($account) { |
18
|
1
|
|
|
|
|
4
|
$acct = $account; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
else { |
21
|
|
|
|
|
|
|
# Default Account: |
22
|
0
|
|
|
|
|
0
|
$acct = new Echo::StreamServer::Account(); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
4
|
%hash = ( 'account' => $acct ); |
26
|
1
|
|
|
|
|
4
|
my $obj = bless \%hash => $package; |
27
|
1
|
|
|
|
|
3
|
return $obj; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
__END__ |