DJabberd/Connection/ClusterOut.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
on_connected
2.0
event_read
2.0
BEGIN
2.0
CRAP 2.0
1 # outgoing connection to another server in our domain
2 package DJabberd::Connection::ClusterOut;
3 use strict;
4 use base 'DJabberd::Connection::ServerOut';
5 use Carp qw(croak);
6  
7 sub on_connected {
8 my $self = shift;
9 # TODO:
10 # start binary protocol
11  
12 }
13  
14 sub event_read {
15 # ... read binary protocol
16 }
17  
18 1;