This commit is contained in:
syuilo 2017-11-16 23:46:36 +09:00
parent 3d3309282e
commit a8c6d0ed90
12 changed files with 91 additions and 29 deletions

View file

@ -0,0 +1,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;
}
}