summaryrefslogtreecommitdiff
path: root/project2/sessionContainer.h
blob: 61632006519df87e664bba89a1f397ba9fdefd4f (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 "uuid.h"
#include "session.h"

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

		SessionPtr GetSession(UUID & sid);
		virtual void CleanUp() { }

	protected:
		virtual SessionPtr getSession(UUID & sid) = 0;
};

#endif