| 1 | package Message::Passing::Role::Output; | ||
| 2 | 17 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 17 | ▶ | use JSON qw/ to_json /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 17 | ▶ | use Scalar::Util qw/ blessed /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | #use namespace::clean -except => 'meta'; | ||
| 6 | |||
| 7 | 17 | requires 'consume'; | |
| 8 | |||
| 9 | 17 | ▶ | no Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 17 | 1; | |
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Message::Passing::Role::Output - Consumes messages | ||
| 16 | |||
| 17 | =head1 DESCRIPTION | ||
| 18 | |||
| 19 | This is a role for classes which consumer messages (e.g. a Message::Passing output) | ||
| 20 | |||
| 21 | =head1 REQUIRED METHODS | ||
| 22 | |||
| 23 | =head2 consume | ||
| 24 | |||
| 25 | Consume a message | ||
| 26 | |||
| 27 | =head1 SEE ALSO | ||
| 28 | |||
| 29 | =over | ||
| 30 | |||
| 31 | =item L<Message::Passing> | ||
| 32 | |||
| 33 | =item L<Message::Passing::Manual::Concepts> | ||
| 34 | |||
| 35 | =back | ||
| 36 | |||
| 37 | =head1 SPONSORSHIP | ||
| 38 | |||
| 39 | This module exists due to the wonderful people at Suretec Systems Ltd. | ||
| 40 | <http://www.suretecsystems.com/> who sponsored its development for its | ||
| 41 | VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use with | ||
| 42 | the SureVoIP API - | ||
| 43 | <http://www.surevoip.co.uk/support/wiki/api_documentation> | ||
| 44 | |||
| 45 | =head1 AUTHOR, COPYRIGHT AND LICENSE | ||
| 46 | |||
| 47 | See L<Message::Passing>. | ||
| 48 | |||
| 49 | =cut | ||