Finally make the stupid pre/post processors work
This commit is contained in:
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user