line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AnyEvent::ZeroMQ::Push; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
29037
|
$AnyEvent::ZeroMQ::Push::VERSION = '0.01'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
# ABSTRACT: Non-blocking OO abstraction over ZMQ_PUSH push/push sockets |
6
|
1
|
|
|
1
|
|
403
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use true; |
8
|
|
|
|
|
|
|
use namespace::autoclean; |
9
|
|
|
|
|
|
|
use ZeroMQ::Raw::Constants qw(ZMQ_PUSH); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
with 'AnyEvent::ZeroMQ::Role::WithHandle' => |
12
|
|
|
|
|
|
|
{ socket_type => ZMQ_PUSH, socket_direction => 'w' }; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'AnyEvent::ZeroMQ::Handle::Role::Generic', |
15
|
|
|
|
|
|
|
'AnyEvent::ZeroMQ::Handle::Role::Writable'; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
AnyEvent::ZeroMQ::Push - Non-blocking OO abstraction over ZMQ_PUSH push/push sockets |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 VERSION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
version 0.01 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 AUTHOR |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Jonathan Rockway <jrockway@cpan.org> |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Jonathan Rockway. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
39
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|