The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

POEx::ZMQ::Buffered - A message internally queued on a POEx::ZMQ::Socket

SYNOPSIS

use POEx::ZMQ;
my $zsock = POEx::ZMQ->socket(type => ZMQ_ROUTER);
# ...
my @waiting = $zsock->get_buffered_items->all;
for my $msg (@waiting) {
  my $contents = $msg->item;
  ...
}

DESCRIPTION

A buffered outgoing single or multipart message.

See POEx::ZMQ & POEx::ZMQ::Socket.

ATTRIBUTES

item

The message body.

item_type

The message type -- single or multipart.

flags

The ZeroMQ message flags.

Predicate: has_flags

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>