hippofish/src/web/app/common/scripts/requests-stream-manager.ts

13 lines
304 B
TypeScript
Raw Normal View History

2017-11-13 11:58:29 +01:00
import StreamManager from './stream-manager';
import Connection from './requests-stream';
export default class RequestsStreamManager extends StreamManager<Connection> {
public getConnection() {
if (this.connection == null) {
this.connection = new Connection();
}
return this.connection;
}
}