The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ZMQ::Raw::Message - ZeroMQ Message class

VERSION

version 0.23

DESCRIPTION

A ZMQ::Raw::Message represents a ZeroMQ message.

SYNOPSIS

        use ZMQ::Raw;

        my $msg = ZMQ::Raw::Message->new;
        $msg->data ('hello');

        $socket->sendmsg ($msg);

METHODS

new( )

Create a new empty ZeroMQ message.

clone( )

Create a copy of a ZeroMQ message.

data ([$data])

Retrieve or set the message data.

more( )

Check if this message is part of a multi-part message, and if there are further parts to be received.

size( )

Get the size in bytes of the content of the messsage.

routing_id( [$id] )

Get or set the routing id of the socket. To get a valid routing id, you must receive a message from a ZMQ_SERVER socket.

group( [$group] )

Get or set the group socket.

get( $property )

Get the value of $property.

gets( $property )

Get metadata property.

CONSTANTS

ZMQ_MORE

ZMQ_SHARED

ZMQ_MSG_PROPERTY_ROUTING_ID

ZMQ_MSG_PROPERTY_SOCKET_TYPE

ZMQ_MSG_PROPERTY_USER_ID

ZMQ_MSG_PROPERTY_PEER_ADDRESS

AUTHOR

Jacques Germishuys <jacquesg@striata.com>

LICENSE AND COPYRIGHT

Copyright 2017 Jacques Germishuys.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.