Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

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.

Static Public Member Functions

static void clean (void)

Protected Member Functions

 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.


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:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

Session::Session  )  [protected]
 

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


Member Function Documentation

static void Session::clean void   )  [static]
 

virtual 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.

void Session::unlink void   )  [protected]
 

Unlink the session object.


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:10 2005 for Bayonne by  doxygen 1.4.4