NAME

ZMQ::Raw::Loop::Handle - Handle class

VERSION

version 0.24

DESCRIPTION

A ZMQ::Raw::Loop::Handle represents a handle.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).

SYNOPSIS

use ZMQ::Raw;

my $handle = ZMQ::Raw::Loop::Handle->new
(
	handle => $handle,
	timeout => 30,

	on_readable => sub
	{
	},
	on_writable => sub
	{
	},
	on_timeout => sub
	{
	},
);

my $loop = ZMQ::Raw::Loop->new;
$loop->add ($handle);
$loop->run;

METHODS

new( %args )

Create a new handle.

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.