summaryrefslogtreecommitdiff
path: root/project2/sessionContainer.h
blob: 08ad0e94e82ee5e2ced47b4de89f3d1d97b37d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SESSIONCONTAINER_H
#define SESSIONCONTAINER_H

#include <boost/uuid/uuid.hpp>
#include "session.h"

class SessionContainer {
	public:
		SessionContainer();
		virtual ~SessionContainer() = 0;

		SessionPtr GetSession(boost::uuids::uuid & sid);
		virtual void CleanUp() { }

	protected:
		virtual SessionPtr getSession(boost::uuids::uuid & sid) = 0;
};

#endif