Finally make the stupid pre/post processors work

This commit is contained in:
David Majdandžić
2023-04-05 17:19:53 +02:00
parent 7a4aa1eb9c
commit d032239105
9 changed files with 58 additions and 19 deletions

View File

@@ -1,10 +1,14 @@
import Client from "../../../Client/Client";
import {PDU} from "../../../CommonObjects";
import SmppSession from "../../../SmppSession";
import Preprocessor from "../Preprocessor";
export default class DestinationEnumeratorProcessor extends Preprocessor {
serverSessionType: string = Client.name;
private iterator = 0;
private iterator: number = 0;
constructor(type: string) {
super(type);
console.log(this.serverSessionType);
}
processPdu(session: any, pdu: PDU, ...args: any[]): Promise<any> {
return new Promise<any>((resolve, reject) => {