Version

EnquiryTimer

public class EnquiryTimer
Extends: java.lang.Object
The EnquiryTimer class is very similar in structure and behavior to the HealthCheckTimer. It is designed to periodically trigger health-check or "enquire link" operations on an SmppSession. It uses a timersQueue to schedule itself for repeated execution at fixed intervals.

Fields:

static org.apache.logging.log4j.Logger logger

Constructor:

public EnquiryTimer(SmppSession session, long timeout, PeriodicQueuedTasks<Timer> timersQueue)
    session: The SMPP session to monitor.
    timeout: Time in milliseconds before triggering a check.
    timersQueue: A queue managing repeated executions of this timer.
Initializes an EnquiryTimer that periodically sends EnquireLink PDUs to check the health of an active SMPP session.

Methods:

void execute() Executes the timer task. Typically sends an enquire_link PDU to validate session activity.
long getStartTime() Returns the time when this timer was first started.
Long getRealTimestamp() Returns the actual timestamp used to schedule this task.
void stop() Stops the timer and removes it from the execution queue.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.mobius.software.common.dal.timers.Timer

getQueueIndex

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com