Minor cleanup
This commit is contained in:
@@ -22,7 +22,7 @@ export abstract class SmppSession {
|
||||
readonly counterUpdateTimer: any = new NanoTimer();
|
||||
readonly MESSAGE_SEND_UPDATE_DELAY: number = Number(process.env.MESSAGE_SEND_UPDATE_DELAY) || 500;
|
||||
|
||||
constructor() {
|
||||
protected constructor() {
|
||||
this.eventEmitter.on(this.EVENT.STATE_CHANGED, () => this.updateWs(this.EVENT.STATE_CHANGED));
|
||||
this.eventEmitter.on(this.EVENT.STATUS_CHANGED, () => this.updateWs(this.EVENT.STATUS_CHANGED));
|
||||
this.eventEmitter.on(this.EVENT.ANY_PDU, (pdu: any) => this.updateWs(this.EVENT.ANY_PDU, [pdu]));
|
||||
|
||||
Reference in New Issue
Block a user