Implement response processors
This commit is contained in:
@@ -2,8 +2,7 @@ import EventEmitter from "events";
|
||||
import {PDU, SerializedJob} from "../CommonObjects";
|
||||
|
||||
const smpp = require("smpp");
|
||||
// TODO: Use pdu.data_coding for data coding
|
||||
// See available schemes here https://messaggio.com/industry-specifications-and-standards/smpp-data-coding-scheme/
|
||||
|
||||
export default class Job {
|
||||
static readonly STATE_CHANGED: string = "STATE_CHANGED";
|
||||
private eventEmitter: EventEmitter = new EventEmitter();
|
||||
@@ -94,7 +93,6 @@ export default class Job {
|
||||
|
||||
serialize(): SerializedJob {
|
||||
return {
|
||||
// todo fix issue where pdu hass short message of type buffer
|
||||
pdu: this.pdu,
|
||||
perSecond: this.perSecond,
|
||||
count: this.count
|
||||
|
||||
Reference in New Issue
Block a user