RPC::Lite::MessageQuantizer -- "Quantizes" messages to/from streams.
RPC::Lite::MessageQuantizer packs and unpacks message to/from streams that should be written using a transport layer.
Quantize( $stream )
Retuns a hash ref with the following members:
messages
An array reference of the available messages.
remainder
The remainder of the stream.
Returns undef if unable to quantize.
Pack( $message )
Packs a message for writing to a transport stream.
Returns the packed message.
To install RPC::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPC::Lite
CPAN shell
perl -MCPAN -e shell install RPC::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.