public abstract class SctpMessageToMessageDecoder extends MessageToMessageDecoder<SctpMessage>
ChannelHandler.Sharable
构造器和说明 |
---|
SctpMessageToMessageDecoder() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
acceptInboundMessage(java.lang.Object msg)
Returns
true if the given message should be handled. |
channelRead, decode
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded, handlerRemoved
public boolean acceptInboundMessage(java.lang.Object msg) throws java.lang.Exception
MessageToMessageDecoder
true
if the given message should be handled. If false
it will be passed to the next
ChannelInboundHandler
in the ChannelPipeline
.acceptInboundMessage
在类中 MessageToMessageDecoder<SctpMessage>
java.lang.Exception