Version

BindTimeoutTask

public class BindTimeoutTask
extends java.lang.Object
All Implemented Interfaces:
com.mobius.software.common.dal.timers.Task, com.mobius.software.common.dal.timers.Timer
This class represents a timeout mechanism for the SMPP bind process. If the bind operation does not complete within the specified time, the task is triggered to handle the timeout condition. It typically logs the timeout and closes the channel to ensure no hanging or invalid session remains.

Fields:

static org.apache.logging.log4j.Logger logger

Constructor:

public BindTimeoutTask(io.netty.channel.Channel channel, String channelName, long timeout)
    channel: The Netty Channel object representing the SMPP connection being established.
    channelName: A human-readable identifier for the channel (usually used in logging).
    timeout: The time in milliseconds after which the bind is considered to have timed out.
Creates a new BindTimeoutTask instance that monitors a specific Netty channel during the SMPP bind operation.

Sign in to read the full article

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