summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming/drive-stream-manager.ts
blob: 8acdd7cbba40a472fc4745c42b0fdfcb39a1099b (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 './drive-stream';

export default class DriveStreamManager 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;
	}
}