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 |
getDecoder()
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
ProtocolEncoder |
getEncoder()
Returns a new (or reusable) instance of
ProtocolEncoder which
encodes message objects into binary or protocol-specific data. |
ProtocolEncoder getEncoder() throws java.lang.Exception
ProtocolEncoder
which
encodes message objects into binary or protocol-specific data.java.lang.Exception
ProtocolDecoder getDecoder() throws java.lang.Exception
ProtocolDecoder
which
decodes binary or protocol-specific data into message objects.java.lang.Exception
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.