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