NAME

IPC::MorseSignals::Receiver - Base class for IPC::MorseSignals receivers.

VERSION

Version 0.17

WARNING

Due to the POSIX signals specification (which I wasn't aware of at the time I wrote this module), this module is by nature completely unreliable and will never work properly. It is therefore deprecated. Please don't use it (if you were actually crazy enough to use it).

SYNOPSIS

use IPC::MorseSignals::Receiver;

local %SIG;
my $pants = IPC::MorseSignals::Receiver->new(\%SIG, done => sub {
 print STDERR "GOT $_[1]\n";
});

DESCRIPTION

This module installs $SIG{qw<USR1 USR2>} handlers and forwards the bits received to an underlying Bit::MorseSignals receiver.

METHODS

new

my $imr = IPC::MorseSignals::Receiver->new(%bmr_options);

Creates a new receiver object. Its arguments are passed to "new" in Bit::MorseSignals::Receiver, in particular the done callback.

IPC::MorseSignals::Receiver objects also inherit methods from Bit::MorseSignals::Receiver.

EXPORT

An object module shouldn't export any function, and so does this one.

DEPENDENCIES

Bit::MorseSignals::Receiver.

Carp (standard since perl 5) is also required.

SEE ALSO

IPC::MorseSignals, IPC::MorseSignals::Emitter.

Bit::MorseSignals, Bit::MorseSignals::Emitter, Bit::MorseSignals::Receiver.

perlipc for information about signals in perl.

For truly useful IPC, search for shared memory, pipes and semaphores.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Please report any bugs or feature requests to bug-ipc-morsesignals-receiver at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IPC-MorseSignals. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc IPC::MorseSignals::Receiver

COPYRIGHT & LICENSE

Copyright 2007,2008,2013,2017 Vincent Pit, all rights reserved.

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