SmppMessageDecoder
public class SmppMessageDecoder
Extends:
io.netty.handler.codec.ByteToMessageDecoder
Implements:
io.netty.channel.ChannelInboundHandler
io.netty.channel.ChannelHandler
SmppMessageDecoder is a Netty-compatible decoder that transforms raw byte streams from the network into SMPP Pdu objects using a provided PduTranscoder. It is intended for use in SMPP session pipelines and ensures incoming byte data is properly parsed and converted into higher-level protocol messages.
Fields:
NAME
Fields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
Constructor:
public SmppMessageDecoder(PduTranscoder transcoder)
transcoder: The component responsible for translating raw byte buffers into SMPP PDU instances and vice versa.
Initializes the decoder with a given PduTranscoder used to convert byte buffers into Pdu objects.
Methods:
Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder |
channelInactive, channelRead, channelReadComplete, handlerRemoved, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered |
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught |
Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
handlerAdded, isSharable |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface io.netty.channel.ChannelHandler |
handlerAdded |
Start innovating with Mobius
What's next? Let's talk!