OutboundMessageType
- the outbound message typeInboundMessageType
- the inbound message typepublic interface MessagePipeline<InboundMessageType,OutboundMessageType>
Modifier and Type | Method and Description |
---|---|
MessageDecoder<InboundMessageType> |
getDecoder()
Get the message decoder instance.
|
MessageEncoder<OutboundMessageType> |
getEncoder()
Get the message encoder instance.
|
MessageHandler<InboundMessageType> |
getInboundMessageHandler()
Get the (optional) inbound message handler instance.
|
MessageHandler<OutboundMessageType> |
getOutboundPayloadMessageHandler()
Get the (optional) outbound payload message handler instance.
|
MessageHandler<OutboundMessageType> |
getOutboundTransportMessageHandler()
Get the (optional) outbound transport message handler instance.
|
@Nonnull MessageEncoder<OutboundMessageType> getEncoder()
@Nonnull MessageDecoder<InboundMessageType> getDecoder()
@Nullable MessageHandler<OutboundMessageType> getOutboundPayloadMessageHandler()
This is the handler intended to be called on the outbound message context, prior to any message encoding.
@Nullable MessageHandler<OutboundMessageType> getOutboundTransportMessageHandler()
This is the handler intended to be called after MessageEncoder.prepareContext()
,
but before MessageEncoder.encode()
.
MessageHandler<InboundMessageType> getInboundMessageHandler()
Copyright © 1999–2015. All rights reserved.