Package com.seleniumsoftware.SMPPSim
Class DelayedInboundQueue
- java.lang.Object
-
- com.seleniumsoftware.SMPPSim.DelayedInboundQueue
-
- All Implemented Interfaces:
java.lang.Runnable
public class DelayedInboundQueue extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Hashtable<java.lang.Integer,java.lang.Integer>delayed_queue_attempts(package private) java.util.ArrayList<Pdu>delayed_queue_pdusprivate static DelayedInboundQueuediqueueprivate InboundQueueiqueueprivate static java.util.logging.Loggerloggerprivate intmax_attemptsprivate intperiodprivate Smscsmsc
-
Constructor Summary
Constructors Modifier Constructor Description privateDelayedInboundQueue()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeliveredOK(Pdu pdu)static DelayedInboundQueuegetInstance()voidretryLater(Pdu pdu)voidrun()
-
-
-
Field Detail
-
diqueue
private static DelayedInboundQueue diqueue
-
logger
private static java.util.logging.Logger logger
-
smsc
private Smsc smsc
-
iqueue
private InboundQueue iqueue
-
delayed_queue_pdus
java.util.ArrayList<Pdu> delayed_queue_pdus
-
delayed_queue_attempts
java.util.Hashtable<java.lang.Integer,java.lang.Integer> delayed_queue_attempts
-
period
private int period
-
max_attempts
private int max_attempts
-
-
Method Detail
-
getInstance
public static DelayedInboundQueue getInstance()
-
retryLater
public void retryLater(Pdu pdu)
-
deliveredOK
public void deliveredOK(Pdu pdu)
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
-