line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Reflexive::ZmqSocket::RouterSocket; |
2
|
|
|
|
|
|
|
{ |
3
|
|
|
|
|
|
|
$Reflexive::ZmqSocket::RouterSocket::VERSION = '1.130710'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
#ABSTRACT: ZMQ_ROUTER socket type based subclass |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
1813
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use ZeroMQ::Constants qw/ ZMQ_ROUTER /; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
extends 'Reflexive::ZmqSocket'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _build_socket_type { +ZMQ_ROUTER } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Reflexive::ZmqSocket::RouterSocket - ZMQ_ROUTER socket type based subclass |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 VERSION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
version 1.130710 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
This subclass of Reflexive::ZmqSocket defaults the socket type to ZMQ_ROUTER |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 AUTHORS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=over 4 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item * |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Nicholas R. Perez <nperez@cpan.org> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item * |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Steffen Mueller <smueller@cpan.org> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=back |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This software is copyright (c) 2012 by Nicholas R. Perez <nperez@cpan.org>. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
53
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
__END__ |