Do more refactoring

This commit is contained in:
David Majdandžić
2023-03-29 17:23:17 +02:00
parent 74915eb7a5
commit 4d790b83b8
4 changed files with 74 additions and 77 deletions

View File

@@ -26,13 +26,13 @@ const MESSAGE_SEND_UPDATE_DELAY: number = Number(process.env.MESSAGE_SEND_UPDATE
let logger = new Logger("main");
let clientManager: ClientSessionManager = new ClientSessionManager();
clientManager.setup();
// clientManager.setup();
// let wss: WSServer = new WSServer([clientManager]);
async function main() {
// let client: Client = await clientManager.createSession("smpp://localhost:7000", "test", "test") as Client;
let client: Client = await clientManager.getSession(0) as Client;
let client: Client = await clientManager.createSession("smpp://localhost:7000", "test", "test") as Client;
// let client: Client = await clientManager.getSession(0) as Client;
// // client.sendMultipleDefault();
//