yumechi-no-kuni/src/web/app/common/scripts/server-stream-manager.ts

13 lines
300 B
TypeScript
Raw Normal View History

2017-11-13 03:05:35 -06:00
import StreamManager from './stream-manager';
import Connection from './server-stream';
2017-11-13 03:05:35 -06:00
export default class ServerStreamManager extends StreamManager<Connection> {
public getConnection() {
if (this.connection == null) {
this.connection = new Connection();
}
return this.connection;
}
}