summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming/home-stream-manager.ts
blob: ad1dc870eb6cbfa859c370a7df381877b7a001aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import StreamManager from './stream-manager';
import Connection from './home-stream';

export default class HomeStreamManager extends StreamManager<Connection> {
	private me;

	constructor(me) {
		super();

		this.me = me;
	}

	public getConnection() {
		if (this.connection == null) {
			this.connection = new Connection(this.me);
		}

		return this.connection;
	}
}