Sharkey/src/web/app/common/scripts/drive-stream-manager.ts

21 lines
370 B
TypeScript
Raw Normal View History

2017-11-16 16:46:36 +02:00
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;
}
}