Daisuke Maki > ZMQ-CZMQ-1.04 > ZMQ::CZMQ::Ctx

Download:
ZMQ-CZMQ-1.04.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

ZMQ::CZMQ::Ctx - Wrapper Around zctx_t

SYNOPSIS ^

    use ZMQ::CZMQ;
    use ZMQ::Constants qw(ZMQ_REQ);

    my $ctx = ZMQ::CZMQ::Ctx->new;
    $ctx->destroy; # be careful!
    $ctx->shadow;
    $ctx->set_io_threads($io_threads);
    $ctx->set_linger($linger);
    $ctx->set_hwm($hwm);

    my $sock = $ctx->socket(ZMQ_REQ);

METHODS ^

destroy

new

set_hwm

set_io_threads

set_linger

shadow

socket

socket_destroy

For now, internal use for ZMQ::CZMQ::Zctx.

syntax highlighting: