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