Version

ChannelUtil

public class ChannelUtil
extends java.lang.Object
Utility class providing helper methods to extract or generate metadata about Netty Channel objects used in SMPP transport.
Note: This class is stateless and not intended to be instantiated. All methods are static.

Constructor:

public ChannelUtil()
Creates a ChannelUtil instance.
Not used directly - this class is designed for static access only.

Methods:

static String createChannelName(Channel channel) Generates a unique name string for the given channel, often used for identification or logging.
static String getChannelRemoteHost(Channel channel) Returns the remote host (IP address or hostname) of the peer connected to the given channel.
static int getChannelRemotePort(Channel channel) Returns the remote port number of the peer connected to the given channel.

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