man Session () - 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.

NAME

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

SYNOPSIS



#include <bayonne.h>

Protected Member Functions

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>

Member Function Documentation

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.

Author

Generated automatically by Doxygen for Bayonne from the source code.