Sharkey/src/web/app/common/scripts/streaming/home-stream-manager.ts
2017-11-17 01:24:44 +09:00

20 lines
368 B
TypeScript

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;
}
}