File Coverage

blib/lib/ZMQ/Raw/Context.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package ZMQ::Raw::Context;
2             $ZMQ::Raw::Context::VERSION = '0.38';
3 14     14   97 use strict;
  14         26  
  14         402  
4 14     14   72 use warnings;
  14         23  
  14         307  
5 14     14   64 use ZMQ::Raw;
  14         23  
  14         536  
6              
7             =head1 NAME
8              
9             ZMQ::Raw::Context - ZeroMQ Context class
10              
11             =head1 VERSION
12              
13             version 0.38
14              
15             =head1 DESCRIPTION
16              
17             A L represents a ZeroMQ context.
18              
19             =head1 METHODS
20              
21             =head2 new( )
22              
23             Create a new ZeroMQ context.
24              
25             =head2 set( $option, $value )
26              
27             Set a ZeroMQ context option.
28              
29             =head2 shutdown( )
30              
31             Shutdown the ZeroMQ context. Context shutdown will cause any blocking operations
32             currently in progress on sockets open within the context to return immediately
33             with an error code of C. Any further operations on sockets open within
34             the context shall also fail with an erro code of C.
35              
36             =head1 AUTHOR
37              
38             Jacques Germishuys
39              
40             =head1 LICENSE AND COPYRIGHT
41              
42             Copyright 2017 Jacques Germishuys.
43              
44             This program is free software; you can redistribute it and/or modify it
45             under the terms of either: the GNU General Public License as published
46             by the Free Software Foundation; or the Artistic License.
47              
48             See http://dev.perl.org/licenses/ for more information.
49              
50             =cut
51              
52             1; # End of ZMQ::Raw::Context