The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MsgPack::RPC::Message - a MessagePack-RPC notification

VERSION

version 2.0.3

SYNOPSIS

    use MsgPack::RPC;

    my $rpc = MsgPack::RPC->new( io => '127.0.0.1:6543' );

    $rpc->emit( some_notification => 'MsgPack::RPC::Message', args => [ 1..5 ] );

DESCRIPTION

MsgPack::RPC::Message extends the Beam::Event class, and encapsulates a notification received by the MsgPack::RPC object. Requests are encapsulated by the sub-class MsgPack::RPC::Message::Request.

METHODS

new( args => $args )

The constructor accepts a single argument, args, which is the struct holding the arguments of the notification itself.

SEE ALSO

MsgPack::RPC::Message::Request - subclass for requests.

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019, 2017, 2016, 2015 by Yanick Champoux.

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