Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Session Class Reference

Sessions are used for "garbage collected" entities which may be detached and removed after an expiration time rather than falling out of scope immediately. Garbage collectable objects. More...

#include <bayonne.h>

List of all members.

Protected Methods

 Session ()
virtual ~Session ()
void Unlink (void)
 Unlink the session object.

virtual time_t getExpires (void) = 0
 Indicate if and when this session is to be "garbage collected" by UNIX timestamp. More...


Friends

class  Scheduler


Detailed Description

Sessions are used for "garbage collected" entities which may be detached and removed after an expiration time rather than falling out of scope immediately. Garbage collectable objects.

This process is managed by the scheduler thread.

Author(s):
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

Session::Session ( ) [protected]
 

Session::~Session ( ) [inline, protected, virtual]
 


Member Function Documentation

void Session::Unlink ( void ) [protected]
 

Unlink the session object.

time_t Session::getExpires ( void ) [protected, pure virtual]
 

Indicate if and when this session is to be "garbage collected" by UNIX timestamp.

Returns:
0 if still running, else garbage collection period.


Friends And Related Function Documentation

class Scheduler [friend]
 


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 11:40:34 2001 for Bayonne by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000