Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

RPC::Lite::SessionManager
Manages all sessions for an RPC::Lite::Server.

RPC::Lite::SessionManager - Manages all sessions for an RPC::Lite::Server.



NAME

RPC::Lite::SessionManager - Manages all sessions for an RPC::Lite::Server.


SYNOPSIS


  use RPC::Lite::SessionManager;

  my $sessionManager = RPC::Lite::SessionManager->new(

                               {

                           TransportSpecs =>

                             [

                               'TCP:ListenPort=10000,LocalAddr=localhost',

                               ...

                             ],

                         }

                       );


DESCRIPTION

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.
Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy