类的使用
me.hekr.iotos.softgateway.network.common.ConnectionContext
-
使用ConnectionContext的程序包 程序包 说明 me.hekr.iotos.softgateway.network.common me.hekr.iotos.softgateway.network.common.client me.hekr.iotos.softgateway.network.common.listener -
-
me.hekr.iotos.softgateway.network.common中ConnectionContext的使用
返回ConnectionContext的me.hekr.iotos.softgateway.network.common中的方法 修饰符和类型 方法 说明 static <T> ConnectionContext<T>ConnectionContext. wrap(InetSocketAddress address)static <T> ConnectionContext<T>ConnectionContext. wrap(InetSocketAddress address, T message) -
me.hekr.iotos.softgateway.network.common.client中ConnectionContext的使用
参数类型为ConnectionContext的me.hekr.iotos.softgateway.network.common.client中的方法 修饰符和类型 方法 说明 voidEventListener. exceptionCaught(ConnectionContext<T> ctx, Throwable t)异常处理voidEventListenerAdapter. exceptionCaught(ConnectionContext<T> ctx, Throwable t)voidEventListener. onConnect(ConnectionContext<T> ctx)客户端与服务端建立连接voidEventListenerAdapter. onConnect(ConnectionContext<T> ctx)voidEventListener. onDisconnect(ConnectionContext<T> ctx, CloseReason reason)客户端与服务端断开连接voidEventListenerAdapter. onDisconnect(ConnectionContext<T> ctx, CloseReason reason)voidEventListener. onHeartbeatTimeout(ConnectionContext<T> ctx, java.time.LocalDateTime lastOccurTime, int count)* 客户端不活跃(超过了设定的心跳超时时间)voidEventListenerAdapter. onHeartbeatTimeout(ConnectionContext<T> ctx, java.time.LocalDateTime lastOccurTime, int count) -
me.hekr.iotos.softgateway.network.common.listener中ConnectionContext的使用
类型参数类型为ConnectionContext的me.hekr.iotos.softgateway.network.common.listener中的类 修饰符和类型 接口 说明 interfaceMessageListener<T extends ConnectionContext<?>>
-