mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jian wu" <hellojia...@gmail.com>
Subject ProtocolEncoder/Decoder v.s. MessageEncoder/Decoder
Date Sat, 28 Oct 2006 18:16:10 GMT

Mina provides two types of classes for encoding/decoding protocol data:
ProtocolEncoder/ProtocolDecoder, and MessageEncoder/MessageDecoder.

Is there any guideline or recommendation when to use them?

In my perticular use case, I'm looking into decoding and encoding a
protocol data with fixed start delimiter and end delimiter but length
could be varied due to internal data structure.

Any suggestion would be really appreciated.



View raw message