SmppClientConnector
public class SmppClientConnector
Implements:
io.netty.channel.ChannelHandler
io.netty.channel.ChannelInboundHandler
extends:
io.netty.channel.ChannelInboundHandlerAdapter
SmppClientConnector is a lightweight Netty inbound channel handler used to detect when a client-side SMPP channel becomes active. Once activated, it delegates the event back to the SmppClient, enabling it to continue session setup or perform protocol-level operations. This class is generally internal to the SMPP client's lifecycle and not meant to be used directly in application logic.
Constructor:
public SmppClientConnector(SmppClient smppClient)
smppClient: Reference to the owning SmppClient instance. It is notified when the network channel becomes active.
Methods:
void channelActive(ChannelHandlerContext ctx) |
Triggered when the Netty channel becomes active. The method passes control to the SmppClient for post-connection logic. Throws: Exception if any unexpected error occurs during activation. |
This class is designed to be thread-safe and is shared across multiple channels.
It serves as the entry point after a TCP connection is established, before SMPP bind operations begin.
Start innovating with Mobius
What's next? Let's talk!