|
|||||||||
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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |