IProto/Message.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« IProto/Error.pm ↑ Summary IProto/NoResponse.pm »
1 package MR::IProto::Message;
2  
3 =head1 NAME
4  
5 MR::IProto::Message - iproto message
6  
7 =head1 DESCRIPTION
8  
9 Base class for all messages sent throught iproto protocol.
10  
11 =cut
12  
13 1 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 =head1 ATTRIBUTES
16  
17 =over
18  
19 =item data
20  
21 Binary representation of message data.
22  
23 =cut
24  
25 1 has data => (
26 is => 'ro',
27 isa => 'Value',
28 );
29  
30 =back
31  
32 =head1 SEE ALSO
33  
34 L<MR::IProto>.
35  
36 =cut
37  
38 1 ▶no Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 __PACKAGE__->meta->make_immutable();
40  
41 1 1;
« IProto/Error.pm ↑ Summary IProto/NoResponse.pm »