跳过导航链接
A B C E F G H I M N P R S T U V W 

A

addChannel(String, String, Channel) - 类 中的方法cn.tworice.netty.session.SessionManager
 
addChannel(Channel) - 类 中的方法cn.tworice.netty.session.SessionManager
 
addChannel(String, Channel) - 类 中的方法cn.tworice.netty.session.SessionManager
 
addSession(Session) - 类 中的方法cn.tworice.netty.session.SessionManager
 
auth - 接口 中的静态变量cn.tworice.netty.constand.MessageConst
 

B

bossGroup() - 类 中的方法cn.tworice.netty.config.NettyConfig
用来处理连接建立和断开的线程
buildSession(String, String, Channel) - 类 中的静态方法cn.tworice.netty.session.Session
构建一个Session
buildSession(Channel) - 类 中的静态方法cn.tworice.netty.session.Session
 

C

channelRead0(ChannelHandlerContext, WebSocketFrame) - 类 中的方法cn.tworice.netty.hanlder.WebSocketHandler
收到WebSocket消息帧
cn.tworice.netty.config - 程序包 cn.tworice.netty.config
 
cn.tworice.netty.constand - 程序包 cn.tworice.netty.constand
 
cn.tworice.netty.controller - 程序包 cn.tworice.netty.controller
 
cn.tworice.netty.exception - 程序包 cn.tworice.netty.exception
 
cn.tworice.netty.hanlder - 程序包 cn.tworice.netty.hanlder
 
cn.tworice.netty.message - 程序包 cn.tworice.netty.message
 
cn.tworice.netty.session - 程序包 cn.tworice.netty.session
 

E

exceptionCaught(ChannelHandlerContext, Throwable) - 类 中的方法cn.tworice.netty.hanlder.WebSocketHandler
发生异常时调用

F

from - 接口 中的静态变量cn.tworice.netty.constand.MessageConst
 

G

get(String, Channel) - 类 中的静态方法cn.tworice.netty.session.Session
从客户端中获取信息
getGidGroup(String) - 类 中的方法cn.tworice.netty.session.SessionManager
通过组标识获取组下的所有客户端
getUidGroup(String) - 类 中的方法cn.tworice.netty.session.SessionManager
通过用户标识获取组下的所有客户端
gid - 接口 中的静态变量cn.tworice.netty.constand.MessageConst
 

H

handlerAdded(ChannelHandlerContext) - 类 中的方法cn.tworice.netty.hanlder.WebSocketHandler
连接建立时调用
handlerRemoved(ChannelHandlerContext) - 类 中的方法cn.tworice.netty.hanlder.WebSocketHandler
 

I

initChannel(SocketChannel) - 类 中的方法cn.tworice.netty.config.WebSocketInitializer
 

M

Message - cn.tworice.netty.message中的类
 
Message() - 类 的构造器cn.tworice.netty.message.Message
 
Message.MessageFormat - cn.tworice.netty.message中的枚举
 
Message.MessageType - cn.tworice.netty.message中的枚举
 
MessageConst - cn.tworice.netty.constand中的接口
 
MessageManager - cn.tworice.netty.message中的类
 
MessageManager() - 类 的构造器cn.tworice.netty.message.MessageManager
 

N

NettyConfig - cn.tworice.netty.config中的类
 
NettyConfig() - 类 的构造器cn.tworice.netty.config.NettyConfig
 
NettyProperties - cn.tworice.netty.config中的类
 
NettyProperties() - 类 的构造器cn.tworice.netty.config.NettyProperties
 
NotExistException - cn.tworice.netty.exception中的异常错误
目标通道不存在异常
NotExistException(String) - 异常错误 的构造器cn.tworice.netty.exception.NotExistException
 

P

push(Message) - 类 中的方法cn.tworice.netty.controller.WebSocketController
 

R

receiveMessage(ChannelHandlerContext, TextWebSocketFrame) - 类 中的方法cn.tworice.netty.message.MessageManager
将收到消息的操作公开出去
removeChannel(Channel) - 类 中的方法cn.tworice.netty.session.SessionManager
删除客户端
removeGidGroup(String) - 类 中的方法cn.tworice.netty.session.SessionManager
删除组
removeUidGroup(String) - 类 中的方法cn.tworice.netty.session.SessionManager
删除用户

S

sendAll(String) - 类 中的方法cn.tworice.netty.message.MessageManager
发送消息给所有在线的人
sendGid(String, String) - 类 中的方法cn.tworice.netty.message.MessageManager
向组内所有客户端发送消息
sendGid(Message) - 类 中的方法cn.tworice.netty.message.MessageManager
向组内所有客户端发送消息
sendMessage(Message) - 类 中的方法cn.tworice.netty.message.MessageManager
发送消息
sendUid(String, String) - 类 中的方法cn.tworice.netty.message.MessageManager
发送消息给某个人
sendUidIfExist(String, String) - 类 中的方法cn.tworice.netty.message.MessageManager
如果目标通道存在则推送消息
serverBootstrap() - 类 中的方法cn.tworice.netty.config.NettyConfig
 
Session - cn.tworice.netty.session中的类
 
Session() - 类 的构造器cn.tworice.netty.session.Session
 
SessionManager - cn.tworice.netty.session中的类
管理Session客户端 添加 当Session携带gid时,不保存uid组,只保存gid组 当Session不携带gid时,保存uid组,不保存gid组;并且如果重复连接,将原uid客户端断开连接。
SessionManager() - 类 的构造器cn.tworice.netty.session.SessionManager
 
set(String, Object, Channel) - 类 中的静态方法cn.tworice.netty.session.Session
设置信息到客户端中
setAuthFunction(Function<? super Message, String>) - 类 中的方法cn.tworice.netty.message.MessageManager
设置用户验证处理方法
setReceiveConsumer(Consumer<Message>) - 类 中的方法cn.tworice.netty.message.MessageManager
设置收到消息后的处理方法
startServer() - 类 中的方法cn.tworice.netty.config.NettyConfig
 

T

to - 接口 中的静态变量cn.tworice.netty.constand.MessageConst
 

U

uid - 接口 中的静态变量cn.tworice.netty.constand.MessageConst
 

V

valueOf(String) - 枚举 中的静态方法cn.tworice.netty.message.Message.MessageFormat
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.tworice.netty.message.Message.MessageType
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法cn.tworice.netty.message.Message.MessageFormat
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.tworice.netty.message.Message.MessageType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

WebSocketController - cn.tworice.netty.controller中的类
 
WebSocketController() - 类 的构造器cn.tworice.netty.controller.WebSocketController
 
WebSocketHandler - cn.tworice.netty.hanlder中的类
SimpleChannelInboundHandler 会自动释放处理完的消息对象,以避免内存泄漏
WebSocketHandler() - 类 的构造器cn.tworice.netty.hanlder.WebSocketHandler
 
WebSocketInitializer - cn.tworice.netty.config中的类
 
WebSocketInitializer() - 类 的构造器cn.tworice.netty.config.WebSocketInitializer
 
workerGroup() - 类 中的方法cn.tworice.netty.config.NettyConfig
 
A B C E F G H I M N P R S T U V W 
跳过导航链接

Copyright © 2024. All rights reserved.