跳过导航链接
A B C D E G H I M S 

A

asciiToHex(byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.AsciiUtils
单字节的ASCII转16进制
asciiToHex(byte, byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.AsciiUtils
ASCII转16进制
AsciiUtils - cn.foxtech.device.protocol.v1.utils中的类
 
AsciiUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.AsciiUtils
 

B

bcd2int(byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BcdUtils
 
bcd2str(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BcdUtils
BCD格式的字节数组解成数字字符串
bcd2str(byte[], int, int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BcdUtils
转BCD编码
BcdUtils - cn.foxtech.device.protocol.v1.utils中的类
 
BcdUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.BcdUtils
 
bitsToDouble(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
8字节浮点数内存编码,转换为double
bitsToDouble(byte, byte, byte, byte, byte, byte, byte, byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
8字节浮点数内存编码,转换为double
bitsToFloat(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
4字节浮点数内存编码,转换为float
bitsToFloat(byte, byte, byte, byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
4字节浮点数内存编码,转换为float
bitsToFloat(int) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
 
bitsToInteger(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
4字节整数内存编码,转换为int
bitsToInteger(byte, byte, byte, byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BitsUtils
4字节整数内存编码,转换为int
BitsUtils - cn.foxtech.device.protocol.v1.utils中的类
浮点数内存编码转换
BitsUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.BitsUtils
 
buildClassList(List<A>, Class<B>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
从A类型列表转换成B类型列表:A/B是派生类关系
buildKeyList(List<T>, Method) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
 
buildListByGetField(List<T>, ContainerUtils.SerializableFunction<E, R>, Class<K>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据对象的getXxxx(),取出类型列表中的数据
buildMapByKey(List<T>, ContainerUtils.SerializableFunction<E, R>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据对象的属性名称,生成一个哈希表
buildMapByKey(List<T>, Method) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据对象的函数作为key,生成哈希表
buildMapByKeyAndFinalMethod(List<T>, Class<K>, Method) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据Key生成Map,该方法是是具体类的函数,(不具备多态能力,不是反射,速度很快)
buildMapByKeyAndFinalMethod(List<T>, ContainerUtils.SerializableFunction<E, R>, Class<K>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据Key生成Map,该方法是是具体类的函数,(不具备多态能力,不是反射,速度很快)
buildMapByMapAt(List<Map<String, Object>>, String, Class<K>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据map中的某个元素,将列表转换成以这个元素为key的map
buildMapByTypeAndFinalMethod(List<T>, Class<K>, Method) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据对象的函数作为key,生成哈希表
buildMapByTypeAndFinalMethod(List<T>, ContainerUtils.SerializableFunction<E, R>, Class<K>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据Key生成Map,该方法是是具体类的函数,(不具备多态能力,不是反射,速度很快)
buildValueListByKey(Map<K, V>, Collection<K>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
根据Key提取出相关的值列表
byteArrayToHexString(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.HexUtils
字节数组转成16进制表示格式的字符串
byteArrayToHexString(byte[], boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.HexUtils
 
byteArrayToHexString(byte[], int, int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.HexUtils
 
ByteUtils - cn.foxtech.device.protocol.v1.utils中的类
 
ByteUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.ByteUtils
 

C

cn.foxtech.device.protocol.v1.utils - 程序包 cn.foxtech.device.protocol.v1.utils
 
cn.foxtech.device.protocol.v1.utils.netty - 程序包 cn.foxtech.device.protocol.v1.utils.netty
 
ContainerUtils - cn.foxtech.device.protocol.v1.utils中的类
集合操作的工具类
ContainerUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.ContainerUtils
 
ContainerUtils.SerializableFunction<E,R> - cn.foxtech.device.protocol.v1.utils中的接口
定义一个函数接口

D

decodeAscii(byte[], int, int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
ASCII字符串的解码
decodeInt16(byte[], int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
对16位长度byte[],进行int解码
decodeInt16(byte[], boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
对16位长度byte[],进行int解码
decodeInt16(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
对16位长度byte[],进行int解码
decodeInt32(byte[], int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
对32位长度byte[],进行int解码
decodeInt32(byte[], boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
对32位长度byte[],进行int解码
decodeInt32(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
对32位长度byte[],进行int解码

E

encodeAscii(String, byte[], int, int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
 
encodeInt16(int, byte[], int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
 
encodeInt32(long, byte[], int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ByteUtils
 
exchange(Map<K, V>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
交换Key-Value
exchanges(Map<K, V>) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
交换Key-Value

G

getHeaderLength() - 类 中的方法cn.foxtech.device.protocol.v1.utils.netty.SplitMessageHandler
最小包长度检查
getObjectByKey(List<T>, ContainerUtils.SerializableFunction<E, R>, K) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.ContainerUtils
从列表中获取:某个字段等于某个值的对象
getPackLength() - 类 中的方法cn.foxtech.device.protocol.v1.utils.netty.SplitMessageHandler
包长度信息:从minPack数组中,取出报文长度信息
getServiceKey(byte[]) - 类 中的方法cn.foxtech.device.protocol.v1.utils.netty.ServiceKeyHandler
 

H

hasEmpty(Map<String, Object>, Object...) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.MethodUtils
是否包含null或者empty的参数
hasEmpty(Object...) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.MethodUtils
是否包含null或者empty的参数
hasNull(Object...) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.MethodUtils
是否包含null的参数
header - 类 中的变量cn.foxtech.device.protocol.v1.utils.netty.SplitMessageHandler
 
hex2byte(String) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.HexUtils
根据十六进制生成byte
hexStringToByteArray(String) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.HexUtils
16进制的字符串表示转成字节数组
hexStringToByteArray(String, byte[], int) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.HexUtils
 
hexToAscii(byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.AsciiUtils
16进制转换为ASCII格式
HexUtils - cn.foxtech.device.protocol.v1.utils中的类
十六进制数组的转换
HexUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.HexUtils
 

I

isInvalidPack() - 类 中的方法cn.foxtech.device.protocol.v1.utils.netty.SplitMessageHandler
是否为非法报文:通过检查报文头部,这些协议中约定的起始标记,判定该报文是否为合法的报文

M

MethodUtils - cn.foxtech.device.protocol.v1.utils中的类
 
MethodUtils() - 类 的构造器cn.foxtech.device.protocol.v1.utils.MethodUtils
 

S

ServiceKeyHandler - cn.foxtech.device.protocol.v1.utils.netty中的类
报文实体的解码器,并获得业务Key
ServiceKeyHandler() - 类 的构造器cn.foxtech.device.protocol.v1.utils.netty.ServiceKeyHandler
 
setHeaderValue(int, int) - 类 中的方法cn.foxtech.device.protocol.v1.utils.netty.SplitMessageHandler
 
SplitMessageHandler - cn.foxtech.device.protocol.v1.utils.netty中的类
报文头格式:TCP报文通常是固定的报头+报长来解决粘包的问题,只是开发者对报头和报长度的位置各自定义。
SplitMessageHandler() - 类 的构造器cn.foxtech.device.protocol.v1.utils.netty.SplitMessageHandler
 
str2bcd(String, byte[], int, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BcdUtils
 
str2bcd(String, boolean) - 类 中的静态方法cn.foxtech.device.protocol.v1.utils.BcdUtils
数字字符串编成BCD格式字节数组
A B C D E G H I M S 
跳过导航链接

Copyright © 2024. All rights reserved.