Minor fixes

This commit is contained in:
David Majdandžić
2023-04-05 19:53:08 +02:00
parent 42493aab50
commit e0fd3a5c31
7 changed files with 19 additions and 16 deletions

View File

@@ -26,7 +26,6 @@ export default class Client extends SmppSession {
_password: string;
_id: number;
_status: string = this.STATUSES[0];
pduProcessors: PduProcessor[] = [];
readonly logger: Logger;
private session?: any;
private connectPromise: PersistentPromise | null = null;
@@ -197,7 +196,7 @@ export default class Client extends SmppSession {
}, this.eventSessionConnected.bind(this));
this.session.on('error', this.eventSessionError.bind(this));
this.session.on('close', this.eventSessionClose.bind(this));
this.session.on('pdu', this.eventAnyPdu.bind(this));
this.session.on('pdu', this.eventAnyPdu.bind(this, this.session));
});
}