Alexander Hartmaier > Message-Passing > Message::Passing::Output::Callback

Download:
Message-Passing-0.114.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Message::Passing::Output::Callback - Output to call back into your code

SYNOPSIS ^

    Message::Passing::Output::Callback->new(
        cb => sub {
            my $message = shift;
        },
    );

METHODS ^

cb

The callback to be called when a message is received.

consume ($msg)

Calls the callback with the message as it's first parameter

SEE ALSO ^

Message::Passing

SPONSORSHIP ^

This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/> who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with the SureVoIP API - <http://www.surevoip.co.uk/support/wiki/api_documentation>

AUTHOR, COPYRIGHT AND LICENSE ^

See Message::Passing.

syntax highlighting: