POE::Filter::ThruPut - a POE filter that passes data through unchanged whilst counting bytes sent and received
POE::Filter::ThruPut passes data through without changing it, but counts the bytes sent and received. It follows POE::Filter's API and can be used with POE::Filter::Stackable.
Creates a new POE::Filter::ThruPut object.
All the above are standard POE::Filter methods. They pass data through unchanged.
Returns the number of bytes sent through the filter
Returns the numbers of bytes received through the filter
ARRAYREFof the number of bytes sent and received, respectively.
POE::Filter for more information about filters in general.
This module was based on POE::Filter::Stream.
Chris Williams <email@example.com>
This software is copyright (c) 2018 by Chris Williams and Rocco Caputo.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.