Bit::MorseSignals - The MorseSignals protocol.
VERSION
- Version 0.01
+ Version 0.05
+
+SYNOPSIS
+ use Bit::MorseSignals::Emitter;
+ use Bit::MorseSignals::Receiver;
+
+ my $deuce = new Bit::MorseSignals::Emitter;
+ my $pants = new Bit::MorseSignals::Receiver done => sub { print $_[1], "\n" };
+
+ $deuce->post('HLAGH') for 1 .. 3;
+ $pants->push while defined ($_ = $deuce->pop);
DESCRIPTION
In unidirectionnal communication channels (such as networking or IPC),
An actual implementation is also provided :
Bit::MorseSignals::Emitter is a base class for emitters ;
- Bit::MorseSignals::Receiver is a base class for receivers ;
+ Bit::MorseSignals::Receiver is a base class for receivers.
Go to those pages if you just want the stuff done and don't care about
how it gets there.
The header is composed of three bits (lowest weight coming first) :
- - The 2 first ones denotes the data type : a value of 0 is used for a
+ - The 2 first ones denote the data type : a value of 0 is used for a
plain string, 1 for an UTF-8 encoded string, and 2 for a Storable
- object. See also the "CONSTANTS" sections ;
+ object. See also the "CONSTANTS" section ;
- The third one is reserved. For compatibility reasons, the receiver
should for now enforce the message data type to plain when this bit is
lit.
Bit::MorseSignals::Emitter, Bit::MorseSignals::Receiver.
AUTHOR
- Vincent Pit, "<perl at profvince.com>"
+ Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
You can contact me by mail or on #perl @ FreeNode (vincent or
Prof_Vince).