跳过导航链接
A B C D E G H I L N P S T 

A

addChannelHandlers(ChannelPipeline) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
添加泛协议编解码handler

B

build() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession.Builder
 

C

channel(Channel) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession.Builder
 
channelActive(ChannelHandlerContext) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpProtocolHubHandler
 
channelActive(ChannelHandlerContext) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpServerHandler
 
channelInactive(ChannelHandlerContext) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpProtocolHubHandler
 
channelRead(ChannelHandlerContext, Object) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpProtocolHubHandler
 
channelRead0(ChannelHandlerContext, Object) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpServerHandler
 
com.github.cm.heclouds.adapter.protocolhub.tcp - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp
 
com.github.cm.heclouds.adapter.protocolhub.tcp.api - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.api
 
com.github.cm.heclouds.adapter.protocolhub.tcp.config - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.config
 
com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig
 
com.github.cm.heclouds.adapter.protocolhub.tcp.custom - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.custom
 
com.github.cm.heclouds.adapter.protocolhub.tcp.exceptions - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.exceptions
 
com.github.cm.heclouds.adapter.protocolhub.tcp.handler - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.handler
 
com.github.cm.heclouds.adapter.protocolhub.tcp.session - 程序包 com.github.cm.heclouds.adapter.protocolhub.tcp.session
 
ConfigConsts - com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig中的类
配置文件路径常量类
ConfigConsts() - 类 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.ConfigConsts
 
createDeviceSession(String, String, Channel) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionManager
创建设备连接Session

D

DEFAULT_NAME - 类 中的静态变量com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
TCP协议站默认名称
device(Channel) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
deviceName(String) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession.Builder
 
deviceProtocolType(Channel) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
deviceRemoteAddress(Channel) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
deviceSession(Channel) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 

E

exceptionCaught(ChannelHandlerContext, Throwable) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpProtocolHubHandler
 

G

getChannel() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 
getConfig() - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfigUtils
 
getDeviceName() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 
getDeviceSession(String, String) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionManager
获取设备连接Session
getHost() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.TcpFileConfig
 
getHost() - 接口 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.ITcpConfig
泛协议接入SDK协议站TCP启动的地址,默认为本地地址
getHost() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
getInstance(String) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.TcpFileConfig
 
getInstance() - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.TcpFileConfig
 
getLogger() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
getLogger() - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfigUtils
获取ILogger扩展工具类
getName() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.TcpFileConfig
 
getName() - 接口 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.ITcpConfig
泛协议接入SDK协议站TCP名称,默认为TCPHub
getName() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
getName() - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfigUtils
获取TCP协议站名称
getPort() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.TcpFileConfig
 
getPort() - 接口 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.ITcpConfig
泛协议接入SDK协议站TCP启动的端口,默认为10086
getPort() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
getProductId() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 
getTcpDeviceUpLinkHandler() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 

H

handleConnectionLost(TcpDeviceSession) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionManager
连接断开情况处理
host(String) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 

I

IllegalTcpProtocolHubConfigException - com.github.cm.heclouds.adapter.protocolhub.tcp.exceptions中的异常错误
配置非法异常
IllegalTcpProtocolHubConfigException(String) - 异常错误 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.exceptions.IllegalTcpProtocolHubConfigException
 
init() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
initDevice(Object, Channel) - 接口 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.custom.TcpDeviceUpLinkHandler
初始化设备信息,设备连接TCP协议站后的第一条消息由此方法处理
INSTANCE - 类 中的静态变量com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpServerHandler
 
ITcpConfig - com.github.cm.heclouds.adapter.protocolhub.tcp.config中的接口
TCP协议站服务配置接口类

L

logoutDevice(Device) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.api.TcpDeviceDownLinkApi
主动断开设备连接

N

name(String) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
newBuilder() - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 

P

port(Integer) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
printStackTrace() - 异常错误 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.exceptions.IllegalTcpProtocolHubConfigException
 
processConnectionLost(Device, Channel) - 接口 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.custom.TcpDeviceUpLinkHandler
处理设备断开连接时的业务
processUpLinkData(Device, Object, Channel) - 接口 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.custom.TcpDeviceUpLinkHandler
处理自定义协议数据,在此方法中实现业务处理(数据上行),设备连接TCP协议站后除第一条以外的消息由此方法处理
productId(String) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession.Builder
 
PROTOCOL_HUB_TCP_HOST - 类 中的静态变量com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.ConfigConsts
 
PROTOCOL_HUB_TCP_NAME - 类 中的静态变量com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.ConfigConsts
 
PROTOCOL_HUB_TCP_PORT - 类 中的静态变量com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig.ConfigConsts
 
pushToDevice(Device, Object) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.api.TcpDeviceDownLinkApi
推送消息给设备
putDeviceSession(TcpDeviceSession) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionManager
放入设备连接Session

S

setChannel(Channel) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 
setConfig(TcpProtocolHubConfig) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfigUtils
 
setDevice(Channel, Device) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
setDeviceName(String) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 
setDeviceProtocolType(Channel, String) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
setDeviceRemoteAddress(Channel, String) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
setDeviceSession(Channel, TcpDeviceSession) - 类 中的静态方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSessionNettyUtils
 
setProductId(String) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.session.TcpDeviceSession
 
start() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.TcpProtocolHubService
启动协议接入中心服务
stop() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.TcpProtocolHubService
停止协议接入中心服务

T

TcpDeviceDownLinkApi - com.github.cm.heclouds.adapter.protocolhub.tcp.api中的类
下行消息处理
TcpDeviceDownLinkApi() - 类 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.api.TcpDeviceDownLinkApi
 
TcpDeviceSession - com.github.cm.heclouds.adapter.protocolhub.tcp.session中的类
设备连接Session实体类, 设备连接Session会在设备连接泛协议接入SDK后建立,设备与设备Session一对一映射
TcpDeviceSession.Builder - com.github.cm.heclouds.adapter.protocolhub.tcp.session中的类
 
TcpDeviceSessionManager - com.github.cm.heclouds.adapter.protocolhub.tcp.session中的类
设备Session管理
TcpDeviceSessionNettyUtils - com.github.cm.heclouds.adapter.protocolhub.tcp.session中的类
设备连接Session Netty Channel线程绑定工具类
tcpDeviceUpLinkHandler(TcpDeviceUpLinkHandler) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
TcpDeviceUpLinkHandler - com.github.cm.heclouds.adapter.protocolhub.tcp.custom中的接口
 
TcpFileConfig - com.github.cm.heclouds.adapter.protocolhub.tcp.config.fileconfig中的类
从配置文件中读取泛协议接入服务的相关参数,ITcpConfig的默认实现 对应配置文件默认位置为resources/config/adapter.conf
TcpProtocolHubConfig - com.github.cm.heclouds.adapter.protocolhub.tcp.config中的类
TCP协议站配置类
TcpProtocolHubConfig(ILogger) - 类 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
tcpProtocolHubConfig(ITcpConfig) - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
TcpProtocolHubConfigUtils - com.github.cm.heclouds.adapter.protocolhub.tcp.config中的类
配置工具类 注意,调用get方法获取配置前,请首先实例化TcpDeviceUpLinkHandler类,并配置对应的配置,否则将停止服务
TcpProtocolHubConfigUtils() - 类 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfigUtils
 
TcpProtocolHubHandler - com.github.cm.heclouds.adapter.protocolhub.tcp.handler中的类
TCP协议接入中心核心Handler,连接自定义数据的编解码、设备消息的接收和发送
TcpProtocolHubHandler(TcpProtocolHubConfig) - 类 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.handler.TcpProtocolHubHandler
 
TcpProtocolHubService - com.github.cm.heclouds.adapter.protocolhub.tcp中的类
协议接入中心服务
TcpProtocolHubService(TcpProtocolHubConfig) - 类 的构造器com.github.cm.heclouds.adapter.protocolhub.tcp.TcpProtocolHubService
 
TcpServerHandler - com.github.cm.heclouds.adapter.protocolhub.tcp.handler中的类
TCP协议接入中心Handler
toString() - 类 中的方法com.github.cm.heclouds.adapter.protocolhub.tcp.config.TcpProtocolHubConfig
 
A B C D E G H I L N P S T 
跳过导航链接

Copyright © 2020. All rights reserved.