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::Session
Manages a client session. Used internally.

RPC::Lite::Session - Manages a client session. Used internally.



NAME

RPC::Lite::Session - Manages a client session. Used internally.


SYNOPSIS


  use RPC::Lite::Session;

  my $session = RPC::Lite::Session->new( $uniqueClientId, $transport, $sessionManager, $extraInfoHash );

  my $request = $session->GetRequest();


DESCRIPTION

RPC::Lite::Session implements a session for managing clients which are connected to an RPC::Lite::Server. Sessions handle receiving requests and sending responses to clients. Sessions store information about the connection so that multiple transports and serializers can be supported by a single server.

GetRequest()
Returns an RPC::Lite::Request object or undef if there is an error (such as the client being disconnected).

Write( $data )
Serializes (using this particular client's serializer preference) and writes the data referenced by $data to the client.
Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy