Uses of Interface
com.iohao.net.framework.core.codec.DataCodec
Packages that use DataCodec
Package
Description
Provides business-data codec abstractions and implementations used by the framework's extended
protocol support.
Provides action-parser components that scan and convert annotated business classes into runtime
action metadata used by the framework.
Provides protocol wrapper utilities for boxing/unboxing payloads and handling protocol
fragmentation/reassembly.
-
Uses of DataCodec in com.iohao.net.framework.core.codec
Classes in com.iohao.net.framework.core.codec that implement DataCodecMethods in com.iohao.net.framework.core.codec that return DataCodecModifier and TypeMethodDescriptionstatic DataCodecDataCodecManager.getDataCodec()static DataCodecDataCodecManager.getDataCodec(CommunicationType communicationType) Return the appropriate codec for the given communication type.static DataCodecDataCodecManager.getInternalDataCodec()Methods in com.iohao.net.framework.core.codec with parameters of type DataCodecModifier and TypeMethodDescriptiondefault byte[]DataCodec.encodeList(Collection<?> dataList, DataCodec codec) Encode a collection of objects into aByteValueListusing the specified codec.static voidDataCodecManager.setDataCodec(DataCodec dataCodec) Set the primary data codec.static voidDataCodecManager.setInternalDataCodec(DataCodec internalDataCodec) -
Uses of DataCodec in com.iohao.net.framework.core.flow.parser
Methods in com.iohao.net.framework.core.flow.parser with parameters of type DataCodecModifier and TypeMethodDescriptionMethodParser.parseDataList(Object data, DataCodec codec) Parse a list of data values into the protocol-compatible format.MethodParser.parseParam(byte[] data, ActionMethodParameter actionMethodParameter, DataCodec codec) Parses action method parameters -
Uses of DataCodec in com.iohao.net.framework.protocol.wrapper
Methods in com.iohao.net.framework.protocol.wrapper with parameters of type DataCodecModifier and TypeMethodDescriptionstatic <T> ByteValueListByteValueList.of(Collection<T> values, DataCodec codec) Encode each element in the collection using the specified codec and wrap the results.