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>