Handle up/down on server

This commit is contained in:
Asher
2019-10-10 17:05:24 -05:00
parent 3f6cbfa4dd
commit ae43e2016f
2 changed files with 15 additions and 6 deletions

View File

@@ -285,12 +285,14 @@ export class NodeProxyService implements INodeProxyService {
public readonly onMessage = this._onMessage.event;
private readonly _$onMessage = new Emitter<string>();
public readonly $onMessage = this._$onMessage.event;
public readonly _onDown = new Emitter<void>();
public readonly onDown = this._onDown.event;
public readonly _onUp = new Emitter<void>();
public readonly onUp = this._onUp.event;
// Unused because the server connection will never permanently close.
private readonly _onClose = new Emitter<void>();
public readonly onClose = this._onClose.event;
private readonly _onDown = new Emitter<void>();
public readonly onDown = this._onDown.event;
private readonly _onUp = new Emitter<void>();
public readonly onUp = this._onUp.event;
public constructor() {
// TODO: close/down/up