Echo::StreamServer::MuxRequest - Items MUX API Utilities
use Echo::StreamServer::MuxRequest; use Echo::StreamServer::Items; # Create a MuxRequest objects list. my $count = new Echo::StreamServer::MuxRequest($eql_str, 'count'); my $search = new Echo::StreamServer::MuxRequest($eql_str, 'search'); my @mux_requests = ($count, $search); # Send @mux_requests to Echo. my $client = new Echo::StreamServer::Items(); $client->mux(@mux_requests);
The Items MUX API allows a single API call to multiplex several requests. The multiplexed requests are executed concurrently and independently by the Echo server.
multiplex
The Echo::StreamServer::MuxRequest class builds one multiplexed request. This package provides utilities to the Items API, Echo::StreamServer::Items, method mux().
multiplexed
Echo::StreamServer::Items
Andrew Droffner, <adroffne@advance.net>
Copyright (C) 2012 by Andrew Droffner
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Echo::StreamServer::KVS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Echo::StreamServer::KVS
CPAN shell
perl -MCPAN -e shell install Echo::StreamServer::KVS
For more information on module installation, please visit the detailed CPAN module installation guide.