OpenSmpp / opensmpp

OpenSmpp - Java library implementing the SMPP protocol, and allowing development of External Short Message Entities (ESMEs) and more.
http://opensmpp.org/
Other
188 stars 170 forks source link

delay in sending Session.respond #1

Closed noir74 closed 11 years ago

noir74 commented 11 years ago

Hi All,

I've faced with the problem when sending response for DeliverSM.

There is random delay (up to the several second) between invocation Session.respond() and real sending it's' packet through the network interface.

I checked by it using network packet sniffer.

I've reviewed sources but not found any parts of code which could be a potencial reason for such strange delays.. (

Is anybody knows about any reason (and solution) for this situation ?

Thank you in advance, Roman

ptomli commented 11 years ago

Can you create a test case where this is repeatable?

noir74 commented 11 years ago

situation has been clarified ) I'm using transceiver connection Receiving of pdu's is implemented in an asynchronous manner in opesmpp In my java code Session.receive(timeoute) and subsequent Session.respond are invoked in a regular basic and this process is independent from receiving of pdu itself inside opensmpp. It was implicit reason for random delay between timestamp of receiving pdu itself and sending respond on it.