RPC::Lite::SessionManager - Manages all sessions for an RPC::Lite::Server.
use RPC::Lite::SessionManager; my $sessionManager = RPC::Lite::SessionManager->new( { TransportSpecs => [ 'TCP:ListenPort=10000,LocalAddr=localhost', ... ], } );
RPC::Lite::SessionManager implements a simple session manager for use by RPC::Lite::Server. The SessionManager handles creating sessions and returning sessions to the server that are ready to have requests serviced.
StartListening()
Start listening on all transport layers.
PumpSessions()
Iterates over the active sessions, calling their Pump() routine, which should read and process any incoming data.
GetReadySessions()
Returns an array of sessions with requests pending.
1 POD Error
The following errors were encountered while parsing the POD:
You can't have =items (as at line 129) unless the first thing after the =over is an =item
=over without closing =back
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.