|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProtocolCodecFactory
Provides ProtocolEncoder and ProtocolDecoder which translates
binary or protocol specific data into message object and vice versa.
Please refer to
ReverserProtocolProvider
example.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
ProtocolEncoder getEncoder()
throws Exception
ProtocolEncoder which
encodes message objects into binary or protocol-specific data.
Exception
ProtocolDecoder getDecoder()
throws Exception
ProtocolDecoder which
decodes binary or protocol-specific data into message objects.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||