NAME

Evo::MDN - A messanger

VERSION

version 0.0153

SYNOPSIS

my $mdn    = Evo::MDN->singleton;
my $sender = Evo::Base->new;
my $me     = Evo::Base->new;

$mdn->subscribe($me, $sender);
$mdn->broadcast($sender, 'foo');

DESCRIPTION

Messenger

METHODS

broadcast

Sends a message to all subscribers. when_message will be invoked with
the sender and message for the subscribers

subscribe

Subscribe one object to another

unsubscribe

Unsubscribe one object from another

unsubscribe_from_all

Unsubscribe me from all senders

AUTHOR

alexbyk.com

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by alexbyk.

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