NAME

ZMQ::AnyEvent::REP - Asynchronously serviced ZeroMQ REP Socket

VERSION

version 0.001

ATTRIBUTES

endpoint

The endpoint attribute must be given a string representing the ZeroMQ socket to work with.

on_read

The on_read attribute must be given a coderef that will be called whenever a new message is received. If the callback returns a result, that will be sent as a reply to the sender.

METHODS

send

The send method takes a list of items, packages them up as a (potentially multi-part) message, and sends them off through the socket. It returns false in the event of an error.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Ironic Design, Inc..

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