Nicholas Perez > Reflexive-ZmqSocket-1.130710 > Reflexive::ZmqSocket::ZmqMultiPartMessage

Download:
Reflexive-ZmqSocket-1.130710.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.130710   Source  

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 ^

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.

syntax highlighting: