NAME

ZMQ::Raw::Message - ZeroMQ Message class

VERSION

version 0.06

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.

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.

get( $property )

Get the value of $property.

CONSTANTS

ZMQ_MORE

ZMQ_SHARED

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.