4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.comet.SessionCleaner.CheckAndClean Class Reference

Class implement run() method. That method go trough list of sessions and try to find expired sessions. First kind of expiration occur in case of client unactivity second kind occur in case of lost connection with annotation client. This object detect both cases and remove session from sessions list. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.comet.SessionCleaner.CheckAndClean:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.comet.SessionCleaner.CheckAndClean:
Collaboration graph

Public Member Functions

void run ()
 

Detailed Description

Class implement run() method. That method go trough list of sessions and try to find expired sessions. First kind of expiration occur in case of client unactivity second kind occur in case of lost connection with annotation client. This object detect both cases and remove session from sessions list.

A task that can be scheduled for one-time or repeated execution by a Timer.

Definition at line 58 of file SessionCleaner.java.

Member Function Documentation

void cz.vutbr.fit.knot.annotations.comet.SessionCleaner.CheckAndClean.run ( )

Method go trough list of sessions and try to find expired sessions. That sessions delete.

Definition at line 64 of file SessionCleaner.java.

Here is the call graph for this function:


The documentation for this class was generated from the following file: