+/* $Id: session.hpp,v 1.8 2005-10-16 16:05:18 adam Exp $
+ Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
#ifndef SESSION_HPP
#define SESSION_HPP
void close() {
m_close = true;
};
-
+
+ bool operator == (Session &ses) {
+ return ses.m_id == m_id;
+ }
private:
unsigned long int m_id;
}
-// defining and initializing static members
-boost::mutex yp2::Session::m_mutex;
-unsigned long int yp2::Session::m_global_id = 0;
-
-
#endif
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/