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