public interface ProtocolCodecFactory
ProtocolEncoder
and ProtocolDecoder
which translates
binary or protocol specific data into message object and vice versa.
Please refer to
ReverserProtocolProvider
example.
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
newDecoder()
Creates a new instance of
ProtocolDecoder which decodes binary or
protocol-specific data into message objects. |
ProtocolEncoder |
newEncoder()
Creates a new instance of
ProtocolEncoder which encodes message
objects into binary or protocol-specific data. |
ProtocolEncoder newEncoder()
ProtocolEncoder
which encodes message
objects into binary or protocol-specific data.ProtocolDecoder newDecoder()
ProtocolDecoder
which decodes binary or
protocol-specific data into message objects.