Nicholas Perez
and 1 contributors

NAME

Reflexive::ZmqSocket::ZmqMultiPartMessage - The event emitted when a multipart message is received

VERSION

version 1.130710

DESCRIPTION

Reflexive::ZmqSocket::ZmqMultiPartMessage is the event that contains all of the messages received from the socket that were sent using SNDMORE.

A common idiom for gathering all of the data together is:

    my @data = map { $_->data } $msg->all_parts();

PUBLIC_ATTRIBUTES

message

    is: ro, isa: ArrayRef[ZeroMQ::Message], traits: Array

message is the attribute that holds the array reference of all of the message parts received from the socket.

The following methods are delgated to this attribute:

    pop_part
    unshift_part
    push_part
    shift_part
    count_parts
    all_parts

AUTHORS

  • Nicholas R. Perez <nperez@cpan.org>

  • Steffen Mueller <smueller@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Nicholas R. Perez <nperez@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.