line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Reflexive::ZmqSocket::ZmqMessage; |
2
|
|
|
|
|
|
|
{ |
3
|
|
|
|
|
|
|
$Reflexive::ZmqSocket::ZmqMessage::VERSION = '1.130710'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
#ABSTRACT: The event emitted when a single message is received |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
2048
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
extends 'Reflex::Event'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has message => ( |
13
|
|
|
|
|
|
|
is => 'ro', |
14
|
|
|
|
|
|
|
isa => 'ZeroMQ::Message', |
15
|
|
|
|
|
|
|
required => 1, |
16
|
|
|
|
|
|
|
handles => [qw/data/], |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Reflexive::ZmqSocket::ZmqMessage - The event emitted when a single message is received |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 1.130710 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 PUBLIC_ATTRIBUTES |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 message |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
is: ro, isa: ZeroMQ::Message |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This attribute holds the actual message received from the socket. The following |
41
|
|
|
|
|
|
|
methods are delegated to this attribute: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
data |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHORS |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=over 4 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Nicholas R. Perez <nperez@cpan.org> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Steffen Mueller <smueller@cpan.org> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=back |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This software is copyright (c) 2012 by Nicholas R. Perez <nperez@cpan.org>. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
64
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
67
|
|
|
|
|
|
|
|