public abstract class SctpMessageToMessageDecoder extends MessageToMessageDecoder<SctpMessage>
ChannelHandler.Sharable
Constructor and Description |
---|
SctpMessageToMessageDecoder() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptInboundMessage(java.lang.Object msg)
如果应该处理给定的消息,则返回
true 。
|
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
。
如果false
它将传递到ChannelPipeline
中的下一个ChannelInboundHandler
。
acceptInboundMessage
MessageToMessageDecoder<SctpMessage>
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.